How to add precondition in Workflow Action?
One answer
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/
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/
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Feb 02 '15, 6:38 a.m.What precondition should that be?
Vikash Singh
Feb 02 '15, 7:11 a.m.I can add some script which will check the some activity or action is completed before doing the created workflow action.