ATF: Error at record query step

Sai152
Giga Contributor

I'm testing use cases with ATF's and getting an error message at record query step.

Error: FAILURE: No records matching query:
Parent = LNP0001037

1. Impersonate user

2. Opening record producer in portal page

3. Set variable values

4. Submit record producer

5. Impersonate user

6. open an existing record from step 4 (Open the record from step 4 which will be available after submitting record producer) and open in agent workspace (At this step I'm getting success with warnings : An unknown loading error occurred in @servicenow/now-playbook-experience/index)

7.  Check UI action visibility in agent workspace

8. click those UI action from agent workspace

9. Impersonate

10. Record Query

21 REPLIES 21

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

are you sure the user you are impersonating in step 5 has read access to the table?

Did you try running it as admin in ATF.

Regards
Ankur

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

Yes user has the read access.

Hi,

Did you try running the test as admin?

Are you sure the filter is correct

Parent [=] Record submitted from RP

Regards
Ankur

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

Hi

Did you try running the test as admin? : Yes

Here is the attachment for step 10

Hi,

parent field on table "sn_bom_document_task" is referring to the table which is target table of record producer?

Regards
Ankur

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