Need help to enable Requester with edit/cancel option when the RITM is rejected by the approvers in the workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2022 02:10 AM
Hi All, I am creating a workflow for the new catalog item that I am developing and when the RITM is submitted , it goes for three stages of approval . The idea is When any one of the approvals is being rejected, the requester should be getting an option to either edit or cancel. So that based on the rejection comments, the requester can correct the details on the request again when selecting edit and when the requester selects cancel, the RITM can be set to cancelled and a new request can be created at a later time. Require help on this please. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2022 06:30 AM
Hi Aravind,
Here is one version of how the flow would look. I'm assuming that there are three True/False fields added to sc_req_item, u_approval_rejected, u_resubmit and u_cancel.
The flow becomes pretty simple in that the coding is very minimal. I've only, shown the flow for rejected approval.
In the first step, Set Approval Flag, just go in and set Approval Rejected (u_approval_rejected) to true.
In the Wait For step, just set up for Resubmit (u_resubmit) Is True or Cancel (u_cancel) is true.
In the If block the code looks like this
answer = ifScript();
function ifScript() {
if (current.u_resubmit == true) {
return "yes";
}
else {
return "no";
}
}
In Turn Off Approval Rejected just set Approval Rejected to false.
I leave the cancellation process up to you.
The only other pieces that you need will be a couple of UI Policies:
- Set u_approval_rejected to hidden.
- When u_approval_rejected is true make u_resubmit and u_cancel visible.
That should get you started.
Hope that helps.
:{)
Helpful and Correct tags are appreciated and help others to find information faster
:{)
Helpful and Correct tags are appreciated and help others to find information faster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2022 01:06 PM
I have a similar question as
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2025 05:07 AM
I've got the same question. @johnfeist how did you address the submitter being able to edit the request before it goes back to the approval?