Posted: 23 Dec 2017 15:07 EST Last activity: 11 Jan 2018 8:18 EST
Majority Approval Approach
We are using v7.1.9, we have a scenerio where MajorityApproval flow needs to be used.
Requirement is, we have a List of Approvers (who are also Application operators) in a dataPage from whom we need to get majority approval and who ever approves first should be the Primary Approver party for the case.
1. What is the approach to automatically add Approverslist operators from data page to WorkPage WorkParty ? (in Workparty rule we defined Approver role is repeatable). Is there a OOB activity i can call in loop to add OperatorsID's as Workparties (repeatable)?
2. After i have all parties populated, I can call MajorityApproval flow, but how to set first approver as primary approver ? Customization to flow required ?
Use AddWorkObjectParty API and design a looping mechanism to call it number of times in order to add multiple parties.
And in order to mark first approver as primary approver, you need to customize the flow to add an utility or something which will capture the approval timestamp and the corresponding operator in order to make him a primary operator.