ATF Failure: Failed to open the 'sc_req_item' form with id 'eee283d32b5576105f33ff824391bfd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello everyone,
During creating an ATF test cases I have faced a issue in a test which
FAILURE: Failed to open the 'sc_req_item' form with id 'eee283d32b5576105f33ff824391bfde'
Table 'sc_req_item' does not have a record with id 'eee283d32b5576105f33ff824391bfde'
Can anyone help me to resolve this issue
These are the steps in the test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Does the item exist? If yes, does the user from the Impersonate step have access to it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
@pranjalsrvs , Can you tell me at which step it is failing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
did you try testing with Admin and if it's working then check these points
-> the non-admin you are using has READ Access to that record
-> any query business rule is blocking the RITM
Try to add "Record Query" step before opening the Actual RITM record
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I think the "Order a Catalog Item (SP)" gives REQ sysId and not RITM sysId
Try to use Record Query on RITM with Filter Condition as Request = Output from previous step
The use Open an Existing Record for RITM
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader