Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

What's the difference between approval state and cumulative state?

On a work item query, you can set Approvals State is, or is not, approved, pending, and rejected. 
You can also set Approval Descriptors Cumulative State is, or is not, approved, pending, and rejected.  
What do these settings mean when there is more than one approval request on the work item, and the approval requests have different states (IE one accepted, one rejected)? 
What does setting more than one approval state mean (IE: appproval state is approved, rejected)?
What does setting more than one cumulative state mean (IE: cumulative state is approved, rejected?


0 votes



One answer

Permanent link
the approval state is for THAT approval record.

the cumulative is the sum of all the individual approvals on that workitem
(you can force set this)
if there are three separate aprovals required, then the cumulative state is pending til all three are approved (or rejected).. rejected = if any ONE of the three is rejected, then the sum must be rejected too.

1 vote

Comments

Thanks for responding. Based on your answer I did some experiments ... 

If all approval requests are pending, cumulative status is pending is true.
If any approval request is rejected, cumulative status is rejected is true.
If any approval request is approved, cumulative status is approved is true.
If any approval request is not pending, cumulative status is not pending is true.
If any approval request is not rejected, cumulative status is not rejected is true.
If any approval request is not approved, cumulative status is not approved is true.

Given request 1 approved, request 2 rejected ... 
Since I can only use AND or OR conditions, there does not seem to be a way to say "return false if any request was rejected".  I need "cumulative status is not pending and not cumulative status is rejected".

Ok, I missed a few words.. its not the approval, but the approvers that determine the cumulative state
each approval is separate


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,038

Question asked: Jun 23 '14, 1:50 p.m.

Question was seen: 5,017 times

Last updated: Jun 24 '14, 11:10 a.m.

Confirmation Cancel Confirm