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 Record not appearing in list

adaomoji
Tera Contributor

Hello all, I am testing a catalog item that generates a request for a laptop. When I manually test this item, after submitting the form, the record is saved in the Requests [sc_request] table successfully.

 

However, when I recreate this process using ATF, the error I get is: "FAILURE: Failed to open the record with id '' in the 'Request' list. Record is not present in the list". Below are the steps of my test

 

1. Create a User (HR, not impersonated)

2. Create a User 

3. Open a catalog item

4. Set variable values

5. Validate variable values

6. Order a catalog item

7. Impersonate (HR approver)

8. Navigate to Module ('Requests'  module in 'Service Catalog' Application)

9. Open a record in a list (Error)

 

Does anyone know how I can resolve this issue?

10 REPLIES 10

Annette Kitzmil
Tera Guru

Hello,

 

When I have created ATF and need to open the record, the step prio is typcially a Record Query and then an Open an Existing Record going back to the previous step as shown in the example below.  Hopefully this helps.

 

AnnetteKitzmil_0-1700576119000.png