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
Soumya BeheraSoumya Behera 

Advance formula in Next Best Action(Einstein) does not work for picklist field for the user object

Hello All,

I am running with one issue while using Einstein Next Best Action, I am creating an advanced formula that does use the current user record's picklist field ($User) as given below. 

IF(TEXT($User.Rexel_Canada_Division__c) == "Corporate", TRUE,FALSE)

I am able to save the formula however it's not resulting in any recommendation. However, when I am referring to any other user field it does works. 

NOTE:- ISPICKVAL() and TEXT() formula is not working only for the user picklist fields. However, this works for the $Record picklist values.

Please let me know if you have any alternatives or any salesforce limitations.
ShivankurShivankur (Salesforce Developers) 
Hi Soumya,

Please check with FLS for the custom field which you are trying to access in this formula.

Hope above information helps, Please mark as Best Answer so that it can help others in the future.