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.

ATF step - Pull record from record inserted from previous ATF step

Joy _FHLBSF_
Tera Contributor

Hi,

 

I am still new to ATF and I was trying to insert 3 records from our custom SNOW table wherein the variable role requested is being referenced to. I would like to be able to select the newly inserted records to the field screenshot below.

 

Looking forward for some guidance

 

Joy_FHLBSF__0-1763426210766.png

 

6 REPLIES 6

@Joy _FHLBSF_  Then use ' Run Server-side Script' Test step to select all 3 records in the role requested field by writing a code in this step

-------------------------------------------------------------------------------------------------------------------------------

If my response helped, please mark it by selecting "Accept as Solution" and " Helpful." 

I don't do coding and as I have mentioned I am still new in ATF. If you can please elaborate on how to write the script? Is there anyway to do this without writing a script?