Approval is not recognizing Rejected as Rejected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2024 10:03 AM
I have Ask for Approval action that is not recognizing Rejected as Rejected. If I reject approval, it is going through the workflow as it is approved during testing.
When I reject, it doesn't recognize it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2024 11:59 AM
Hi @MelisaB :
If your approval rejection is not been working then you can check for both the conditions for approved and for rejected in if statements. It will work for you. like the way i have given in the following example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2024 02:47 PM
Hey @MelisaB,
From the Flow execution screenshot, it looks like your 'Condition' is not configured correctly.
i.e. it should be 'rejected=rejected' not 'cancelled=rejected'.
Instead, it should be something like (from my PDI)
Can you check your condition again?
If you are still struggling, can you share a screenshot of the 'Ask for Approval' Flow action and expand the 'Condition' of the If Flow Action as well?
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 05:30 AM
Hi James,
Thank you for your response. I've noticed it is showing cancelled=rejected, but I have not used cancelled in condition. Please refer to below screenshot for the "Ask for Approval" configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 12:41 PM
Hi @MelisaB,
Thanks for that, I can see that you are creating the approval on the Request [sc_request] table. Is there a reason why you are creating it on the Request table and not on the Requested Item [sc_req_item] table?
I am not certain if this is related to the issue, but there could be an OOB Workflow (Service Catalog Request) running on the Request table that is 'conflicting' with the Flow.
Cheers