Workflow actions for Workitem Approvals
![]()
VK L (817●7●151●159)
| asked Jul 24 '12, 4:41 a.m.
retagged Jul 24 '12, 6:01 p.m. by Millard Ellingsworth (2.5k●1●24●31)
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
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.