SHARE
TWEET

Untitled

a guest Jul 17th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. )
RAW Paste Data
Top