• Michael.Arrouas
  • NEWBIE
  • 0 Points
  • Member since 2015
  • Senior Salesforce Project Manager
  • Balink

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hello, I'm trying to get a validation rule on cases so a Community Profile can't open up a closed case, but every one else in my org can.
I tried this, and while I don't get an error, the community user could still re-open closed case.

AND(NOT(IsClosed),
ISCHANGED(IsClosed),
OR ($Profile.Id = '00e33000000x2uz',$Profile.Id = '00e33000000jxCM'))

I have another valdiation rule that prevents community profiles from change case owner and that rule works just fine.
AND(ISCHANGED(OwnerId), OR ($Profile.Id = '00e33000000x2uz',$Profile.Id = '00e33000000jxCM'))

Can anyone see where I might be going wrong?
Thanks!