- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2025 04:59 AM
Hello Experts,
How do I disable the REQUEST level Approval for only Technical Catalog.
We have RITM approval and thats what we want only .
How to disable REQ Approval for only Technical Catalogs?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 07:34 AM
like this
var ritmSysId = current.sysapproval;
var ritmRec = new GlideRecord('sc_req_item');
ritmRec.addQuery('sys_id', ritmSysId);
ritmRec.addEncodedQuery('cat_item.sc_catalogsLIKE742ce428d7211100f2d224837e61036d'); // the sysId is for Technical Catalog
ritmRec.query();
if (ritmRec.hasNext) {
current.state = 'approved';
}
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
04-01-2025 05:42 AM
Hi @Shivalika
Yes Thanks I am trying to do the same stopping it to run if it is technical catalog it gives me error .
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2025 05:21 AM
Request level approval comes from this OOB Workflow on sc_request "Service Catalog Request"
REQ is auto approved if the item price is <= $1000
I won't recommend updating that OOB Workflow
1 way
1) keep price of your catalog items under Technical Catalog under $1000 and REQ will be auto approved
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
03-26-2025 06:06 AM
HI @Ankur Bawiskar but we do not have any price related logic or stuff for the Technical catalog. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2025 06:23 AM - edited 03-26-2025 06:25 AM
items under Technical catalog are waiting for REQ approval?
If yes then did you check the price of that catalog item
I already informed if the price is less than $1000 then it's auto approved.
You can also have before insert business rule on sysapproval_approver table
Condition: current.source_table == 'sc_request'
Script:
// check if the REQ has any RITM for which catalog item belongs to Technical catalog
// if yes then set this line
current.state = 'approved';
Also you can update the OOB workflow this condition
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
03-31-2025 03:45 AM
thanks the business rule idea also seems fine.
I need to stop workflow only when Technical catalog is used. since we have flow designer in those items. But for rest of the other catalogs (other than Technical catalog) there is workflow editor.
Thanks