Source Request Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 09:02 AM
Hello Experts,
I would like to how "Source Request" workflow triggers? And also, After "Source Request" workflow is triggered how can I add condition based on the RITM item category to continue the flow?
For RITM category A after "Source Request" workflow is triggered it should process in Flow A and For RITM category B after "Source Request" workflow is triggered it should process in another flow called Flow B.
How can I achieve that?
Rocky.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 09:24 AM
Are you referring to the OOB 'Service Catalog Request' workflow that runs on the 'sc_request' table?
Or is 'Source Request' part of another module, or perhaps a custom workflow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 09:37 AM
Hi Timmo,
I'm reffering to OOB 'Service Catalog Request' workflow on SC_Request table.
Thanks,
Rocky.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 09:55 AM
That workflow is triggered whenever any sc_request record is inserted. Generally, it's not ever touched or used, unless you are using carts where the user has the ability to add multiple items, which would require an approval at the top level for a dollar amount for all items. For the most part, in my experience, RITMs trigger their own workflows, with their own approvals and such, and I never touch the REQ workflow.
To clarify, you want to insert a request (REQ), then have the items (RITM) be worked in a specific order?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2022 10:10 AM
If I understand what you're trying to accomplish, one thing you might want to explore is using a scriptable order guide:
https://docs.servicenow.com/bundle/quebec-application-development/page/script/server-scripting/conce...
Cheers,
Tim