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 retrieve Incident Number of the record generated via ATF

ShilpiN
Tera Contributor

Hi,

 

Can I retrieve the incident number from the record generated via ATF

2 REPLIES 2

Najmuddin Mohd
Mega Sage

Hi @ShilpiN ,

What exactly is use case for this. Generally, I believe once the ATF test is completed, the record is rolled back. Removing that incident.

Regards,
Najmuddin.

Hi @Najmuddin Mohd , I have a test where I am submitting the incident and then I need to verify that the incident number created is appearing in the list or not, with the record query we get the full record, I need just the incident number which got created in earlier steps to verify that if this exist in list view or not in further step, same test case.