In a transition, I want to make a field LOB(Other) required if "Other" is selected for field Lines of Business.
Lines of Business is a multi-select
LOB(Other) is a text field.
if ('Other' in cfValues['Lines of Business']*.value) { return cfValues['LOB(Other)'] != null }
This code stops all transitions if LOB(Other) is null, regardless of what Line of Business I choose.
I've also tried this:
'Other' in cfValues['Lines of Business']*.value || ('Other' in cfValues['Lines of Business']*.value && cfValues['LOB(Other)'] != null)
Appreciate any help.
Community moderators have prevented the ability to post new answers.
Hi Andrea,
Try something like (replace with your fields and values)
('AAA' in cfValues['MultiSelectA']*.value && cfValues['TextFieldA']) || !('AAA' in cfValues['MultiSelectA']*.value)
regards, Thanos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.