The user is then required to select a Reason for "X" or "Y", leave a comment if so desired, and then hit "Submit for Approval".
Any ideas?
4 respostas
You should create two VRs VR 1 should look like this:
AND(
OR(
TEXT(PRIORVALUE(Status__c)) = "X",
TEXT(PRIORVALUE(Status__c)) = "Y"
),
ISCHANGED(Status__c)
)
VR 2 should look like this:
AND(
ISCHANGED(Status__c),
OR(
TEXT(Status__c) = "X",
TEXT(Status__c) = "Y"
),
ISBLANK(Reason__c)
)