It's all about the answers!

Ask a question

Workflow actions for Workitem Approvals


VK L (8177157159) | asked Jul 24 '12, 4:41 a.m.
retagged Jul 24 '12, 6:01 p.m. by Millard Ellingsworth (2.5k12431)
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.

Comments
David Karam commented Aug 29 '12, 11:58 a.m. | edited Aug 29 '12, 11:59 a.m.
JAZZ DEVELOPER

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 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.