How to change stage and state of RITM when Approval is rejected automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 12:25 AM
Hello,
I am attempting to set up a notification for instances when a RIMT is rejected. Specifically, when an approval is rejected. Despite rejecting the RIMT, the stage and state still do not change.
How I can modify their values once the approval is rejected? This adjustment will allow me to send clear notifications regarding the RIM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 01:26 AM
You need to check on how this is configured in your instance. This can be by workflow, flow designer, business rules, etc. We can't look inside your instance, so it's not something we can just answer to 'it's this'. Somewhere your approvals are handling the state changes.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 01:30 AM
@MaramA ,
If you have triggered the approval through Floe designer then make use of Update Record Action based on the condition to set the state.
if its workflow then make use of Run script activity to update the record.
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 01:55 AM - edited 05-27-2024 01:56 AM
you can always review the table configuration to see the related Business Rules. eventually flows as well
either on the RITM [sc_req_item] itself, or on the approvals [sysapproval_approver]
if you want to trigger notifications on RITM rejection, the correct way would be to use the event *.approval.rejected
you can see that that there are Business Rules on table [sysapproval_approver]
- Approval Events (Non-Task)
- Approval Events (Task)
are sending those events
you also have ootb rejection notification on those events you can use those as a template for your custom ones
if it comes to the issue that your RITM is not cancelled after rejection, thats probably a customisation on your side
depending on your Requested items execution flow it should set the correct state of the Requested item