In pega 7.1.5 - I am trying to add multiple(repeating) workparties with role as Approver and system seems overwriting the previously added Approver role workparties by the last one(i.e. if I have 3 operators with approver role then system only keep 3rd operator as approver party remaining 1 and 2 get overwritten by 3rd). I have specified the role in the List "Parties that may repeat" section of pyCaseManagementDefault work party rule and I am adding multiple approver(Data-Part-Operator) parties though a utility in a flow using by calling PartyAddOperator activity. Is it a known issue or am I missing something, please respond!
I am calling PartyAddOpertaor inside an utility activity, I have all approvers list in a DSS as a comma separated string which I parse them in a value list property and then iterate over this value list property to call PartyAddOperator for each value in the value list: please refer below screenshot.
Thank you Pankaj for your reply! It was really helpful! It seems this activity just creates skeleton of Workparty page-group page, to add operator details we need to call WorkPartyRetrieve API activity on each skeleton page created by addWorkObjectParty .