I am new to saleforce, I want to create a syntax for picklist field role_c is not 'PCG' value then rise message you are not allow to update add to client field.

ISPICKVAL(Share_With_User__r.WM_role_c, 'PCG')

This syntax for role = 'PCG',

How do you do not equals?

1 Answer 1


NOT(ISPICKVAL(Share_With_User__r.WM_role_c, 'PCG'))


On the right side you can see all the functions and you can see how they can be used. Double-click on them and they will be inserted into the rule criteria for you to modify them.

Check this link as well for more examples on how to build workflow rules. Also explanation and examples of all functions can be found here

  • Hi Mihai, thanks for your response, however, when I tested to add record the message not pop up but I just got freeze and the save button is not working
    – Irontough
    Jan 27, 2015 at 22:46
  • I'm not sure in what context you use the negation. Also this might not be the whole workflow rule that you use and I don't know what you are trying to achieve Jan 27, 2015 at 22:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .