Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. AND(
  2. $Profile.Name <> 'Custom',
  3. $Profile.Name <> 'System Administrator',
  4. CONTAINS(RecordType.Name , "Custom"),
  5. NOT(ISNEW()),
  6. OR(
  7. NOT(ISPICKVAL(PRIORVALUE(Status__c), "Status A"))
  8. ,
  9. AND(
  10. ISCHANGED(Status__c),
  11. ISPICKVAL(PRIORVALUE(Status__c), "Status A"),
  12. NOT(ISPICKVAL(Status__c, "Status B"))
  13. )
  14. )
  15. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement