Approver Rejected automatically changes to Cancelled when RITM State changes to Closed Cancelled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 10:52 PM
Hi Experts,
I have a Group Membership Catalog item to add/remove members to group and a Flow Designer associated to the item which triggers approval to Group Manager and performs the below action -
-- Upon Group Manager Approve, automatically add/remove the members to Group as required and Update RITM/REQ as Closed Complete
-- Upon Group Manager Reject, Update the RITM as Closed Cancelled and REQ as Closed Skipped
The above Group Manager Approve scenario is working fine.
However, upon Group Manager Reject, the sysapproval_approver record State shows as Rejected, and also automatically changes to Cancelled.
I am unable to understand why/how the Approver record State field is automatically changing.
Any suggestions on why it is happening and how to restrict the field auto update would be much appreciated.
Attached snapshots for reference.
Thanks,
Somujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 12:03 AM
It looks to be a timing issue. The approval is set to rejected, closing the RITM and the RITM then updates the approval record again (RITM is closed, so approval is no longer needed = canceled).
Check on other logic related to approvals on RITM (BR's, other flows). It could be you are just updating twice. Otherwise, try a wait condition in your flow.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark