You need to sign in to do that
Don't have an account?

Combination of Case validation rules doesn't work
I am trying to run a pair of vaildations rules, but they are not working good.
Here the requirements first (object Case):
Case Subtype should be filled if Case Status is either 'On Hold', 'Escalated' or (Case Status = 'Assigned' and Case Substatus = 'Assigned-Support')
Work-Size should be filled if Case Subtype is filled
All these are picklists.
The Case Substatus field is based on a picklist value set of the same name.
These are my validation rules:
1. Empty_Case_Type:
If I have already a value in the field Case Type and I choose Status=Assigned and Substatus='Assigned-Support' the validation rule is still asking me for selecting a value in the field Case Type OR
If I have already a value in both fields Case Type and Work Size and I choose Status= Assigned and Substatus='Assigned-Support' the validation rule still asks for selecting a value in the field Case Type.
No idea what can be wrong in my validation rules.
I would appreciate any advice.
Here the requirements first (object Case):
Case Subtype should be filled if Case Status is either 'On Hold', 'Escalated' or (Case Status = 'Assigned' and Case Substatus = 'Assigned-Support')
Work-Size should be filled if Case Subtype is filled
All these are picklists.
The Case Substatus field is based on a picklist value set of the same name.
These are my validation rules:
1. Empty_Case_Type:
IF(OR(ISPICKVAL(Status, 'On Hold'), ISPICKVAL(Status, 'Escalated'), AND(ISPICKVAL(Status, 'Assigned'),ISPICKVAL(SubStatus__c, 'Assigned - Support'))), true, false)2. Empty_Work_Size:
IF(NOT(ISBLANK(TEXT(CaseType__c))), true, false)Unfortunately the combination is not working.
If I have already a value in the field Case Type and I choose Status=Assigned and Substatus='Assigned-Support' the validation rule is still asking me for selecting a value in the field Case Type OR
If I have already a value in both fields Case Type and Work Size and I choose Status= Assigned and Substatus='Assigned-Support' the validation rule still asks for selecting a value in the field Case Type.
No idea what can be wrong in my validation rules.
I would appreciate any advice.
Try the below changes in validation rule:
1.
2.
Thanks,
Maharajan.C
Thanks.
Maharajan.C