It's all about the answers!

Ask a question

create workitem approvals programatically


VK L (8177157159) | asked Jun 21 '12, 11:46 a.m.
retagged Jun 25 '12, 11:34 a.m. by Evan Hughes (2.4k1318)
Hi All,
            I want to trigger a approval for the workitem to predefined users programatically. This needs to trigger when the workitem is in a particular state alone - for eg: when status is "in progress". How can this be done?

Thanks.

Comments
Daniel Pool commented Jun 27 '12, 4:26 p.m.
JAZZ DEVELOPER

Are you asking to be able to automatically change the approval state of a work item when a certain user moves the work item into a new workflow state? e.g. when Bob completes a work item an existing approval for that work item is also marked as approved.

One answer



permanent link
VK L (8177157159) | answered Jun 27 '12, 10:40 p.m.
Hi Daniel,
                  My requirement is:

I have to create a new approval item with certain pre-defined approvers (or) picking values from workitem fields. This item has to be approved before further states can proceed - I am implementing this condition using available pre-conditions.

Thanks,
Valli.

Your answer


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.