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

Workflow actions for Workitem Approvals

Hi All,
           I have created few approval items programatically. Is it possible to set a target workflow action for the states related to this through Java API itself? Please advise on the method to be used.

Like, i have 1 approval item. I want to set workflow action for its approved and rejected states. I can see the general one in the presentation. But it allows for only 1 setting, whereas i have 2 scenarios with different sets of approval items generated.

Thanks.

0 votes

Comments

Please take a look at ApprovalTrackingPart#editEntry. It contains the code that hooks up the approval action with the workflow action.

I guess the exact code to be used would depend on your use case. Please let us know if this helps answer your question.


Be the first one to answer this question!

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
× 10,938
× 6,121
× 24

Question asked: Jul 24 '12, 4:41 a.m.

Question was seen: 4,601 times

Last updated: Aug 29 '12, 11:59 a.m.

Confirmation Cancel Confirm