You need to sign in to do that
Don't have an account?
Static Dev
How to exclude couple of profiles from WF
Hi,
I just wanted to make sure to exclude certain profiles from the existing WF. Please let me know below syantax is correct.
NOT($Profile.Name ='Name') by including this can i exclude profiles right.
Thanks in Advance.
I just wanted to make sure to exclude certain profiles from the existing WF. Please let me know below syantax is correct.
NOT($Profile.Name ='Name') by including this can i exclude profiles right.
Thanks in Advance.
That will work and you can also simplify it as :
$Profile.Name !='Name' or $Profile.Name <> 'Name'
In case, if you think there will be more profiles that needs to be exculeded, you can add the profile names that needs to be exculed to a custom label and you can use:
Not($Label.yourcustomlabelname.contains($Profile.Name))
where you can have all your profilenames to be exculded in the label. If the list grows, you can use two custom labels instead of one.
Hope it helps.
Thanks,
balaji
Please let me know..
Sorry, I didnt get your question!?
I thght to use it like this NOT(CONTAINS($Profile.Name, "BB India") NOT(CONTAINS($Profile.Name, "BB Canada"). As all the profile names start with BB India xx , BB Canada xx.
NOT( BEGINS($Profile.Name, "BB India") || BEGINS($Profile.Name, "BB Canada") )