You need to sign in to do that
Don't have an account?
Rishu
Trigger when stage is changed
I need to write custom logic to throw an error if -
Field 1 is blank when
stage is updated from stage 1 to stage 2 and field 2 type = A or B or C
I know I can achieve this using validation rule but I need to write custom logic for this
Field 1 is blank when
stage is updated from stage 1 to stage 2 and field 2 type = A or B or C
I know I can achieve this using validation rule but I need to write custom logic for this
Validation rule for the above logic is :-
ISPICKVAL(PRIORVALUE (Stage__c), 'previousStage'),
ISPICKVAL(Stage__c, ' currentStage'),
ISBLANK(field1))
ISPICKVAL(PRIORVALUE (Stage__c), 'previousStage'),
ISPICKVAL(Stage__c, ' currentStage'),
ISBLANK(field1))
Try Below Validation Please Mark It As Best Answer If It Helps
Thank You!
Try Below Code Please Mark It As Best Answer If It Helps
Thank You!