Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to open RITM and SCTASK when running Open a Catalog Item (SP) via ATF

Gian1
Tera Contributor

I am trying to run an ATF scenario where Open a Catalog Item (SP) and have a Order a Catalog Item (SP) as submit. 

When we open an existing record, it fails to open SC_TASK

Any ideas?

9 REPLIES 9

Hi Ankur,

 

This is my step 4: Open an Existing Record

 

And I get the error message 

 

FAILURE: Failed to open the 'sc_task' form with id '6ce8238adb628950e41fc773059619a0'
Table 'sc_task' does not have a record with id '6ce8238adb628950e41fc773059619a0'

 

find_real_file.png

You need to open existing record by giving condition as RITM sysId

can you share your steps

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

There is no section to add any conditions as you can see below;

 

find_real_file.png

Hi,

you want to open catalog task or RITM form?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Gunturi Haribab
Tera Contributor

In the same scenario, I have to open both the SCtasks simultaneously and I have to close them. How to do that in the ATF?