Hi,
I would like to use the ScriptRunner Simple Scripted Validator to validate that ONE of three custom fields are set to 'Yes' before the transition can proceed. They are all Radio Button fields. Just to be clear, only ONE of the custom fields needs to be valid for the transition to proceed. Is this possible? I was trying to use || to accomplish this, but it seems all fields must be answered with 'Yes' using ||.
For example. . .
cfValues["Select 'Yes' if you are certain that you want to CANCEL ALL open reviews related to this review."]?.value == 'Yes' || cfValues["Select 'Yes' if you are certain that you want to CANCEL ALL open reviews related to this Level 2 review."]?.value == 'Yes' || cfValues["Select 'Yes' if you are certain that you want to CANCEL ALL open reviews related to this Level 3 review."]?.value == 'Yes'
Thanks!
I figured it out. Yes, those II allow this to work. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.