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 test keeps falling because 'incident table' does not have a record with ID

kgomez222
Tera Contributor

Hey all, so I've been working with ATF and it seems to be functioning just fine until I utilize the

'open an existing record' step with an ID that has been queried and verified around 3 times throughout the test.

 

I'm getting the error of

FAILURE: Failed to open the 'incident' form with id '0a4b1a5d4780655023d3c787a46d4344'
Table 'incident' does not have a record with id '0a4b1a5d4780655023d3c787a46d4344'

 

I've queried this record with the 'Record query' step and I get this 

kgomez222_0-1672173650013.png

it's successful, but when I reach the 'open an existing record' step it fails. I'm not quite sure why it's not working.

 

kgomez222_1-1672173718653.png

 

1 REPLY 1

Akif_Shah
Mega Sage

Do you have any ACL's blocking itil_admin roled users from viewing incidents?
OR when you perform those steps manually, are you able to view the incident impersonating any itil_admin user?