You need to sign in to do that
Don't have an account?
sai007
Compare MultiSelectPickList with Picklist
Hi All,
I have a MultiSelectPickList field in User and Picklist in custom object. I need to compare such a way that piclist value is present in MultiSelectPickList in validation rule. I tried using INCLUDES($User.MultiSelectPickList,TEXT(Picklist)) but I got Error: Incorrect parameter type for function 'INCLUDES()'. Expected Text Literal, received Text. I analised this error and i got solution from here
https://ipfs-sec.stackexchange.cloudflare-ipfs.com/salesforce/A/question/148489.html to use triggers.
Now my question is, is there any way to compare rather than using triggers. is there any way to compare in Condition Formula in validation rule
Thanks,
sai
I have a MultiSelectPickList field in User and Picklist in custom object. I need to compare such a way that piclist value is present in MultiSelectPickList in validation rule. I tried using INCLUDES($User.MultiSelectPickList,TEXT(Picklist)) but I got Error: Incorrect parameter type for function 'INCLUDES()'. Expected Text Literal, received Text. I analised this error and i got solution from here
https://ipfs-sec.stackexchange.cloudflare-ipfs.com/salesforce/A/question/148489.html to use triggers.
Now my question is, is there any way to compare rather than using triggers. is there any way to compare in Condition Formula in validation rule
Thanks,
sai
All Answers
yes I know in this INCLUDES($User.MultiSelectPickList,TEXT(Picklist)) insted of TEXT(Picklist) can I Use like this INCLUDES($User.MultiSelectPickList,Picklist) but ==> Picklist -> it is also pick list in custom object.