- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2021 10:53 AM
Our workflow requires the user to submit a catalog item that creates an RITM that is first approved by the department manager, then approved by the IT manager and then assign the Tasks.
I'm new to ATF and I'm trying to understand how I can move from Catalog Item, to the RITM and finally to the SCTASK.
Any assistance would be greatly appreciated.
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2021 09:01 AM
Steps for you to get started
1) Impersonate user
2) Open a Catalog Item
3) Set Variable Values
4) Order Catalog Item
5) Record Query - sc_request where SysId = Output from Step 4
6) Record Query - sc_req_item where Request = Output from Step 5
7) Record Query - sysapproval_approver where Approval - Output from Step 6; Give some timeout as 10seconds
😎 Open an Existing Record - sysapproval_approver where Sys Id = Output from Step 7; Give some timeout as 5seconds
9) Click UI Action "Approve" so that user approval is done
10) Record Query - sysapproval_approver where Approval - Output from Step 6 AND State is Requested
11) Open an Existing Record - sysapproval_approver where Sys Id = Output from Step 10; Give some timeout as 5seconds
12) Click UI Action "Approve" so that Group approval is done
13) Record Query - sc_task table where Request Item is Output from Step 6
14) Open an Existing Record - sc_task where SysId = Output from step 13
15) Click UI Action "Close Task" to close task
16) Open an Existing Record - sc_req_item where Sys Id = Output from Step 6
17) Field values validation - validate Stage = Completed
Regards
Ankur
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-24-2021 07:06 AM
I see what you are doing but how can I get the Sys_ID...eample line 5. How can I get the SysI_D from a prior step?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2021 07:32 AM
Hi,
you can get this from the output of the previous step
Regards
Ankur
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-24-2021 08:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2021 09:34 PM
Did you get a chance to check on this?
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-25-2021 07:59 AM
I did and looks good. Need to work out a few details to match our workflow. Thanks,