HI,
Can anyone please help with serial poll and parallel poll. I am aware that serial poll and parallel poll will take the poll of approvals and rejections but i could not find any sample after related to that. If any one has the sample after script to approve the access request if any of the 2 approvers accept in serial poll it would be of great help.
My scenario is like I have 4 level of approvals and approvals should go in serial mode and if any 2 of the 4 approvers accept the request the access request should be completed. if not then access request should be rejected. I read in the compass that using serial poll we can achieve the above scenario. Can anyone please guide exactly how we can achieve that using serial poll in approval mode.
Tried the above code in provisioning approval subprocess after script and I have set the approval mode as serial poll but once the first approver rejects the work item it is not going to the second level approver and the work item is being rejected automatically without considering the serial poll. It is working similar to serial approval mode.
The code @iamksatish shared should work to complete the approval if 2 people in the pool both approve it, but it won’t alter the OOB behavior of a single person rejecting an item as a rejection of that item in whole.
You might be able to change that behavior by updating the filterRejects WF control var, but be mindful of how changing this might impact approvals later in the chain…:
Please find the workflow here. When filter rejects is set to false even if the first approver rejects the item is going to the second level of approval. However after all the approvals if the item is rejected by any single person the the request is getting rejected. I have added the code shared by u but no luck cert prov approval sub process.xml (20.7 KB)