
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2016 12:40 PM
I created an Order Guide and the Order Guide created as desired the RITM's with their appropriate workflows. All RITMs require, in this case, approvals (actually two, the department manager and then C-Level) and I want to avoid that the managers are getting overwhelmed with approving each RITM I need to know if there is a way to have the managers just approve the REQ rather than the RITM and that the RITM inherits the approval? BTW, the RITMs show already "Request approved" already (see below).
I am new to ServiceNow so if you could point me to documentation or explain the steps that would be greatly appreciated.
Thank very much in advance
Thanks Armin
Solved! Go to Solution.
- Labels:
-
Service Catalog
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2016 09:05 PM
Oh yes, basically WF gets attached to a record as soon as the record is created, and for Order guide RITMs get created as soon as I have 2 approaches for you: 1. Create a variable in Order Guide, say u_approved, and set it as true when Order Guide is approved in "Service Catalog Request" workflow. In Rule Base, add this condition with existing condition i.e. u_approved = true. 2. In this approach, we don't rely on Rule base, in fact Rule base is blank. When Approved, just include a Run Script activity and in this activity write a script to create RITMs (a complex one, but tried and tested).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2020 05:02 AM
Armin,
Can you show me what you put in the service catalog workflow to make this work? Also what's in the first IF statement for manager approval. I have the same request where I want the approval to go out as soon as the order guide is submitted.
Thanks,
John

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2016 03:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2017 10:23 AM
Hey arminheinlein, how were you able to figure out the items that do not need any approval? where you able to find a solution to the last question you posted on this thread? I am interested in doing the same. I want to use Order guides, but I still have some items that do not require approvals. I can't find a way to 'auto approve' those items in the request workflow.
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2017 04:09 PM
Hi Louie,
First I created in the dictionary a column for no approval required (sc_cat_item) and then I added that field in the maintain item form. Keep in mind if one of the items requires approval it will request approval for all. Also this is Service Catalog Level.
Dictionary:
Maintain item form
Then I had to adjust the Service Catalog Request workflow. See the first If statement (I show you the screen below)
The script from the screen above:
// This script tests if one of the items needs an approval.
// If there is Approval Required on one of the items it will execute the approval.
// Please be aware that Approval Required is indicated by the field "u_no_approval_required"
// set to false.
answer = ifScript();
function ifScript() {
var ritm = new GlideAggregate('sc_req_item');
ritm.addQuery('request', current.sys_id); // get the request items attached to this request
ritm.addQuery('cat_item.u_no_approval_required', false); // look for any that have u_no_approval_required set to false (field not checked) on the cat_item field.
ritm.addAggregate('COUNT');
ritm.query();
if (ritm.next()) {
var approval_count = ritm.getAggregate('COUNT');
if (approval_count > 0)
return true; // requires approval
}
return false; // does not require approval
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 01:53 PM
I'm going through a similar exercise and have a process related question. What happens if a customer mixes in access approvals? Do you allow them to do that or do you require everyone to submit hardware purchases/access requests separately?
I think based on your workflow, it doesn't seem to account for that. It will just look at the approval flag. If an approval is required, it'll lump the access request in with it. After I figure that out, I'm looking to add approvals for each access/request related items after the REQ in some "intelligent" way.