- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2023 10:49 AM
Hello SNC,
In to the story, I created an INC and on the incident i am clicking on UI-Action 'create outage' which has to create an outage record in cmdb_ci_outage. My test is running fine untill this step but the I am not able to open the record, I am getting the following error.
FAILURE: Failed to open the 'cmdb_ci_outage' form with id '371745b68762e550c540c916cebb35a4' Table 'cmdb_ci_outage' does not have a record with id '371745b68762e550c540c916cebb35a4' |
below(attached)is the test result,
has anyone faced it, FYI, I build other steps and same approach worked for othr and not for this, can anyone tell why?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 11:25 AM
I was able to figure it out myself.I created a submit record step after clicking the UI action.
Then the record was saved to the data base and was able to query for the record.
I followed the below approach..
My test was success now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 06:33 AM
I just checked the ACL's. ITIL role is sufficient for the users to open the outage record.
both the users created has ITIL role, PFB
if the test is ran by me, I have admin role. SO role doesn't appear to be the problem.
Moreover I am able to open outage record on my browser where test is running on.
this is the error with no screenshot attached to the failed test.
"FAILURE: No records matching query:
Task number = INC0100981" (---> task number is the created inc)
Thats the reason I could not understand,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 07:40 AM
okay do this
1) try to open an existing outage record without record query and check if it can be opened
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2023 12:00 PM
Yes sir, I tried that and it successfully opened an outage record, PFB screenshot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2023 08:14 PM
did you check any query BR is restricting the atf user?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2023 08:27 AM
hello @Ankur Bawiskar I dont see any query Business rules on outage table at all.
and on incident table
I opened 1 st one
Task number = INC0101080'