You need to sign in to do that
Don't have an account?
petec@i2isys
Prevent Community Users from Opening a Closed Case
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!
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!
You should try with this instead:
AND(
ISCHANGED(Status),
ISPICKVAL(PRIORVALUE(Status), "Closed"),
OR(
$User.ProfileId = "00e33000000x2uz",
$User.ProfileId = "00e33000000jxCM"
)
)