Cannot validate Additional Comments in Automated Test Framework - Records not found

symonflores_23
Tera Guru

In Automated Test Framework, I want to validate whether the Requested Item contains additional comments. Since additional comments are stored in a different table (Journal Entry), I created a record validation for it. However, it always says that the record cannot be found.

 

symonflores_23_0-1750930301528.png

Step 5 - Submit Catalog

Step 6 - Get REQ item from Step 5

Step 7 - Get the RITM item from Step 6

Step 8 - Open sys_journal_field table and find the RITM with additional comments

 

This is my Step 8 Record Validation:

symonflores_23_1-1750930467142.png

But it always says:

symonflores_23_2-1750930644276.png


Additional comments will be added quickly after submission. I have the timeout to 60s. Still having the same error of record not found.

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@symonflores_23 

if that user doesn't satisfy read access on sys_journal_field table then it will fail.

Did you try with admin user and see?

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

Hi Ankur,

symonflores_23_0-1750931943223.png

symonflores_23_1-1750931970532.png

Tried it with Test User as Admin. Still no success.