RITM Approval
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 01:56 AM
if one person is creating an RITM, it should NOT go for approval to same person, rather it should go for approval to others from his team for approving it. For this i want to change the workflow .How to do it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 02:03 AM
Hi,
There are multiple ways you need to add this.
- In the workflow/flow when you create you have to be cautious that you don't add approvals to the requestor, check it at the source.
- Secondly of there are approvals going to groups where requestor is also added, you can
- write a BR to not let the approval inserter where approval is same as requestor
- OR
- Write a BR when some approves that they are not the requestor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 02:03 AM
are you sending approval to group?
If yes then are you saying if the person who submitted the request is member of the same approval group then approval record should not be generated for him/her?
if yes then simply use before insert business rule on sysapproval_approver table
Enhance as per your requirement
(function executeRule(current, previous) { // Add your code here
var gr = new GlideRecord("sc_req_item");
gr.addQuery("sys_id", current.sysapproval);
gr.addQuery('request.requested_for', current.approver)
gr.query();
if (gr.hasNext()) {
current.setAbortAction(true)
}
})(current, previous);
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 02:23 AM
Hello Ankur,
Thanks for responding . Here my requirement is suppose raise he RITM Item ,i am one of the approver person in the group. In place of assign person is to me then it's automatically approved or send that request for another person approval in same group.
As of now if raise the Request Item some time it assigned to me for approval . we need to avoid that and even if assign to same person need approve automatilly that time.
Example like below:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 02:26 AM
that's not a complete business requirement.
To whom the approval should go -> this should be your 1st question to customer
Then what happens if both approver and the requester is same -> this is next part & can be handled with either not allowing approval record to be created or sending approval to his/her team. What does team mean here?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader