Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Multi validation doesn't work correctly.

jun lee
Contributor
March 13, 2022

I configured a validation (Simple scripted validator) as cfValues['ENM_ReqAppReqDate'] || cfValues['ENM_ReqApprove']?.value == 'Yes'. ENM_ReqAppReqDate is automatically updated when user requests approval for the request content. If user doesn't request, workflow can be processed without ENM_ReqApprove. This validation is work correctly.

I configured a validation (Simple scripted validator) also as cfValues['ENM_DeployReqDate'] || cfValues['ENM_DeployApprove']?.value == 'Yes'. ENM_DeployAppReqDate is automatically updated when user requests approval for deploy. If user doesn't request, workflow can be processed without ENM_DeployApprove.  This validation is work correctly.

Two validations work correctley when the validations are individually tested. However when I configured two validations to the same transition, workflow check two validation everytime. ENM_ReqApprove is checked even though there is no ENM_ReqAppReqDate. And ENM_DeployApprove is checked even though there is no ENM_DeployReqDate.

How can I do?

0 answers

Suggest an answer

Log in or Sign up to answer