Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to add precondition in Workflow Action?

I added workflow action and would like to add precondition for the action.

Please guide me,How to add precondition for created workflow action.

0 votes

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.



One answer

Permanent link
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/

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Feb 02 '15, 6:25 a.m.

Question was seen: 2,666 times

Last updated: Feb 02 '15, 12:34 p.m.

Confirmation Cancel Confirm