Multiple approvals using sub process in OPA
Summary:
Multiple approvals using sub process in OPA
Content (please ensure you mask any confidential information):
I'm using sub-process in OPA to instantiate as many instances as possible for approval based on the incoming payload approval array. for example,
{
"runID": "PARALLEL_TEST",
"Batch": "Test IC119",
"approvers": [
{
"approver": "123456",
"approverName": "John McEnroe"
},
{
"approver": "234567",
"approverName": "Roger Federer"
}
]
}
My requirement is that can have 1 or more approvers for a transaction, and they all need to approve for the transaction to be approved and even if one rejects, whole transaction is rejected.
I have the reject part working based on the termination condition of multi-instance activity.