I would like to make a field mandatory based on the value selection another field.at a state
Hi , I would like to make a field mandatory based on the value selection another field.at a state Can someone tell me how to do this using condition ?
|
2 answers
well, condition returns true or false. you cannot pass it parameters.. so you have to hard code the test..
once you have condition working, then you can use the condition in the required by condition advisor settings you have to add the required by condition advisor to the list of active advisors.. Comments
Thanks for your quick answer.
ok this one way
|
Ralph Schoon (63.5k●3●36●46)
| answered Aug 15 '16, 2:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
https://jazz.net/wiki/bin/view/Main/AttributeCustomization explains the JavaScript (and Java) API and what conditions can access. Conditions can access the workflow action selected as well as the state of a work item. https://rsjazz.wordpress.com/2015/08/07/a-custom-condition-to-make-attributes-required-or-read-only-by-role-version-2/ explains how the UI works with condition and preconditions/operation advisors. Advisors basically prevent saving but don't provide UI hints. Conditions can provide UI hints.
https://jazz.net/library/article/495 is pretty outdated. Start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.