How to add precondition in Workflow Action?
Vikash Singh (42●30●65)
| asked Feb 02 '15, 6:25 a.m.
edited Feb 02 '15, 12:34 p.m. by Geoffrey Clemm (30.1k●3●30●35) I added workflow action and would like to add precondition for the action.
Please guide me,How to add precondition for created workflow action. |
One answer
Ralph Schoon (63.3k●3●36●46)
| answered Feb 02 '15, 7:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can configure the operational behavior that is available in the process configuration. E.g. as described in Lab 5 here: https://jazz.net/library/article/1093
With respect to JavaScript, please read the first two sections of that lab 5. JavaScript is not really able to do much based on state changes. If the operational behavior (for work item save) is not available, the only way is to create your own operational behavior as Java client/server extension. One example with the links to the relevant additional information is described here: https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/ |
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.
Comments
What precondition should that be?
I can add some script which will check the some activity or action is completed before doing the created workflow action.