record validation step in ATF

ShaziyaS4380655
Tera Contributor

After the record insert step in atf and i want to validate the record but when i am trying to run the TEST , iam getting failure in test saying that record is not found even though the record was inserted successfully

 

9 REPLIES 9

OlaN
Giga Sage
Giga Sage

Hi,

Can you share some screenshots to show the config of the test and your validation config.

I did a simple test now, and needed to set some fields values before I could get the record validation to work.

ShaziyaS4380655_4-1755077004847.pngShaziyaS4380655_5-1755077008578.png

ShaziyaS4380655_9-1755077115650.pngShaziyaS4380655_10-1755077121954.png

 

@ShaziyaS4380655 

why are you giving number during insert?

If that number field is auto number then the number will change after inserting.

You won't find the same number again.

You can use Open an Existing Record step and use the Previous Step output (sysId) to open the Record

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

I want to use the record validation step into this ATF , what other values that i can set so that i can use both record insert and record validation.