ATF: Error at record query step
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2022 11:25 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 08:10 PM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 08:48 PM
Yes user has the read access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 08:56 PM
Hi,
Did you try running the test as admin?
Are you sure the filter is correct
Parent [=] Record submitted from RP
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 09:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 09:28 PM
Hi,
parent field on table "sn_bom_document_task" is referring to the table which is target table of record producer?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader