+ Start a Discussion
SharathChandraSharathChandra 

contains function not working in workflow

Hi I'm using Contains Function in Workflow.

 

My Workflow contains rule criteris which will run based on formula evaluated to true. My formula for rule criteria is CONTAINS('SHARATH',Description) .

 

And i'm updating field if the rule criteria evaluates to true.

 

My description contains sentence like "My name is SHARATH" and i want to using CONTAINS for text "SHARATH" it is not working please help asap.

 

If i use contains operator its working properly i.e when i run the rule based criteria are met.

 

I want to why its not working with formula.

 

Thanks!!

 

Best Answer chosen by Admin (Salesforce Developers) 
@anilbathula@@anilbathula@
Hi Cherrlin,

Just change ur formula like this:-
CONTAINS(Description,"SHARATH").

All Answers

@anilbathula@@anilbathula@
Hi Cherrlin,

Just change ur formula like this:-
CONTAINS(Description,"SHARATH").
This was selected as the best answer
SharathChandraSharathChandra

I tried that also no use.

@anilbathula@@anilbathula@
Hi

just check your rule criteria and check the debug logs whether this work flow is firing or not based on the rule criteria.
SharathChandraSharathChandra

So the only difference between CONTAINS function and contains operator is Case Sensitive and Case insensitive. Right!!!