- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-07-2020 11:03 PM
Hey guys,
I am trying to test a catalog request using the Automated Test Framework (ATF). I would like to validate some fields in the sc_request table after ordering a Catalog Item. So I am wondering how to I open an existing request that I just created.
Steps used in ATF:
Impersonate User
Open a Catalog Item
Set Variable Values
Order Catalog Item
I can query the request item using the following:
I can also query the catalog task using
However, how do I query the request in the sc_request table so that I can then open up the form?
Thanks in advance
Troy
Solved! Go to Solution.
- Labels:
 - 
						
							
		
			Request Management
 - 
						
							
		
			Service Catalog
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-08-2020 12:38 AM
Oh Okay got it. Can you try this to get the REQ and open the REQ form-
Give Sys ID instead of Request in the Conditions-
Data pill chosen is-
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-08-2020 06:28 AM
Okay I am guessing "glide.sc.checkout.twostep" is set to 'true' on your instance. Can you check this property on 'sys_properties' table.
If that property is set to 'true', the ATF will not execute as expected as it is a known issue (https://hi.service-now.com/kb_view.do?sysparm_article=KB0695998)
Set that Property to "false" and re-run your ATF, it should work.
Let me know the result 🙂
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-08-2020 02:48 PM
Thanks so much shruthiub. Worked a treat 🙂
Appreciate the help.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-07-2020 11:57 PM
Hi Troy,
Please have a look into this that will help you in all way
Kindly mark it correct and helpful if it is applicable.
Thanks,
Priyanka
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-08-2020 12:26 AM
Thanks Priyanka,
I had gone through this article but only shows how to open up a requested item, approval and tasks. It doesn't actually open up the request.
Any other suggestions?
Thanks
Troy
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-08-2020 01:08 AM
Hi,
please select the Request field from the data picker of Order a Catalog item step to open sc_request record
Screenshot already mentioned in previous reply of shruthi
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
