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

Can we change state automatically in rtc after more than one approvals?

Hi,

In a workitem, if there are many approvals added, is it possible that once all the approvals are approved then the state changes?
When I tried to enforce state change on Approved, even if one approver is approving, the state is automatically getting changed.

I want, when all the approvers approve, then state change should be triggered. Is this possible in RTC?

0 votes


Accepted answer

Permanent link
You can configure Work Item Approval Tracking, where a workflow action is triggered on certain events.



Shuchita Tripathi selected this answer as the correct answer

2 votes

Comments

 Hi Ralph,


I have tried this option. But it changes the state as soon as any one out of many approver approves. I want that if all the approvers approve, only then the state change trigger. Can that be achieved?

no.. The RTC approval model here is ANY approval or rejection not ALL

you could get the source for the IBM advisor and change it to ALL. the source for almost all of the product is in the SDK

I would have expected it is moved only if it is finally approved as well. I'll have to try that out. However, you can create your own behavior. The following post pretty much contains what you need:

https://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/

You would have to look at the approval during save and figure if it is completely approved and then change the state as above.
The Approval API is touched here:
https://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/


One other answer

Permanent link
Although you currently would need to provide your own custom adviser to perform this check, it would be reasonable to submit this as an enhancement request to the existing built-in adviser.

0 votes

Your answer

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
× 12,023

Question asked: Apr 01 '15, 9:14 a.m.

Question was seen: 4,448 times

Last updated: Apr 05 '15, 7:34 p.m.

Confirmation Cancel Confirm