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.
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
JAZZ DEVELOPER Aug 29 '12, 11:59 a.m.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.