Cancel Approval and then Retrigger Approval on RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
I am working on a POC on my PDI where I have to create two UI actions:
1. Cancels the Approval Record
2. Retriggers the approval record.
I have created a Catalog item, Flow, two UI action buttons.
The UI action for cancelling the approval record is working fine. However, the UI action for retrigger approval is just adding the approval which is cancelled and not adding the next approval record.
Do I have to make changes to the UI action script or Flow for this?
Following scripts are for both the UI actions respectively:
1. For cancelling the approval record:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
We would need to see the flow. After the first UI Action is this flow still executing? If so, does it stay 'stuck' on a certain activity, if the second UI Action is used? Does the same happen if the second UI Action isn't used, so the first UI Action is breaking the flow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I checked the flow execution. After the first UI action (cancellation of approval), the flow gets stuck on the activity (which generates the approval). Used the second UI action which attached the same approval in Requested state (as expected). After approving it does not attach the next approval. The Flow remain stuck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I still need to see the flow(s) involved. I'm thinking there should be a way to add one or more parallel activities that accommodate what the UI Actions are doing, maybe combined with changing them slightly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I did some changes to the flow. Have put subflows (for approval) in "Do the following unti" flow logic now. it is working. thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi @Karishma Mehta ,
why not handling your approval, cancel approval and retrigger approval through your flow instead of UI action?
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/