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
Raja236Raja236 

Text function in Process builder

Hello,

When i was trying with Formula in criteria for pick list, used Text function(as doing  normal WF rule), i am getting the following error.
Syntax : CONTAINS ( TEXT (  [Account].TestLightening8__Active__c ), "Yes")

Error: The formula expression is invalid: Incorrect parameter type for function 'TEXT()'. Expected Number, Date, DateTime, Picklist, received Text

Please let me know the correct syntax use to avoid the error

Thanks
Raja



 
SonamSonam (Salesforce Developers) 
Raja, is TestLightening8__Active__c  a picklist? 
CONTAINS (TEXT (Account.TestLightening8__Active__c ), "Yes")
 
Raja236Raja236
Hi Sonam,
yes, it is pick list field.
we required Square braces  for Account obj then only process builder is considering as Obj.
Still issue persists.