function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sangeetha TSangeetha T 

URGENT !!! Referring Global Variable to a custom Label

Hi All 
I'm currently removing all the hard coded IDs to Custom Label
I have a formula in Process builder 
------------------------
$User.Id  <> 18 digit ID
------------------------
I captured the 18 digit ID in custom label and tried using the same in the formula field
------------------------
$User.Id  <> $Label.AAA 
------------------------
But Not working. Any help please

My goal is to replace the hardcoded ID to a custom Label 
AbhinavAbhinav (Salesforce Developers) 
Hi Sangeetha,

is It giving any error ? Could you pleae share your process builder details.

how to use custom label with Process builder

https://jenwlee.com/2017/03/28/did-i-just-see-you-hardcode-a-salesforce-id-aw-hell-no/

Thanks!
 
Sangeetha TSangeetha T
Hi Abhinav 

It is not working when I use the label
It is working when I use the ID
How to refer the user.id to custom label correctly