ATF: Record Validation error: Validate record from table did not match conditions

1030680252
Tera Contributor

1030680252_0-1750174592007.png1030680252_1-1750174619739.png

Dear Experts

Above are my test record, even I have update <my request status> to rejected  in step 15,but when  in step 16, record validation, still errot message: Record '7495e3fbc386ea509d5afeac05013100' in table 'x_1770592_easy_t_0_my_asset_request' did not match conditions:
My Request Status = Rejected . is there any suggestion to fix the issue ,thanks!

1 REPLY 1

Som4
Tera Contributor

This typically happens for one of these reasons:

 

1. Timing Issue (Update Not Committed Yet) - Sometimes, ServiceNow is asynchronous with updates. Even though step 15 sets the field to "Rejected", it might not have finished saving before step 16 checks it.

Fix: You can set the wait time in Step16 using Timeout field.


2. Update Step Didn't Actually Change the Field - Check that step 15 actually performs an update to the record.

 

3. Wrong Field Name or Value in Validation Step - Check that your Validation step is pointing to the correct field and value or Is "Rejected" a valid option in the choice list for the field?

 

Final: You can also use breakpoints on the tests and click on Debug Test to debug the issue.