User and group approvals together in one approval action is leading to the approval state of cancelled


Description

User and group approvals together in one approval action is leading to the approval state of cancelled

Steps to Reproduce

1. Create a flow with Service Catalog Trigger
2. Add a ask for approval action
3. Make sure it has 3 user approval and 3 group approval under it, with rule anyone approves from ALL user/group approval
or anyone rejects from ANY user/group approval (please find the attached screenshot)
4. Go to Service Catalog > Maintain Items
5. Create new item
6. Add the flow to the Item
7. Try It
8. Check the flow is WAITING on the Ask For Approval
9. Approve one member from each group first.  Then try to approve each user approval

once all approvals are complete is check the flow context

actual : ask for approval will be completed but the Approval State runtime value will show as cancelled
expected : Approval State runtime value should be approved

Workaround

Create two Ask for Approvals that run in parallel (See KB0964016).

The first Ask for Approval is for group approvals

The second Ask for Approval is for user approvals



Related Problem: PRB1503970