Question

OOTB PartyApprovalMajority Requirement - Complete the approval process once minimum 3 parties have voted

Hi

I have a requirement similar to this post.

I am using OOTB PartyApprovalMajority flow, assignments for voting will be created for all workparty defined in the Case. for example I have 5 workparty defined in the Case and I want to complete the approval process once minimum 3 parties voted, Can you please share design approach for this requirement?

Thanks in advance.

Dandapani

***Updated by moderator: Lochan to branch reply to create new post***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Branched Post Information: 

Comments

Keep up to date on this post and subscribe to comments

December 29, 2017 - 3:31pm

Can any one please  explain how the majority approval flow  (PartyApprovalMajority ) works.

 

Thanks in advance 

 

`Dandapani

 

Pega
December 30, 2017 - 12:13pm

Hello Dandapani,

Within the OOTB PartyApprovalMajority flow, votes are cast by setting the “.pyApproval” Property on each pyWorkParty() page involved in the voting process. 

This flow makes use of PartyCountApprovals activity which has a step to count the votes(approval/reject) using pyApproval property.

See if you can make use of this.

Check the below article also, it discusses an approval process design. It can help you on your approval usecase.
https://pdn.pega.com/community/pega-academy/question/same-case-vs-sub-case-parallelism

Thanks!