context.saveObject method

Hi @iamnithesh @Remold @iamksatish

Thank you for your response.

To elaborate, the rule is an approvalAssignmentRule. I was using this rule to develop a custom approval mechanism. The custom approval requires 2 level of approvals(1. Manager, 2. Owner (custom owner fetched from a customObj)).
Approval Mode: Serial
approvalSplitPoint: Owner

I configured the LCM provisioning and approve and provision workflow to split the approval into parallel mode by defining the approvalSplitpoint & providing the approvalAssignmentRule to handle the logic.

However, after the manager’s approval, it skips the 2nd level of approval and directly provisions. Looking at the trace, It was observed that the workItem state is set to “Finished” after the manager’s approval.

I’ve attached the post I made on the issue here, Any help is appreciated.

1 Like