clicking on new button in related list gives an alert : failed to execute action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
In the service operations workspace, in related list - child incidents, related records tab, there is a new button.
We have to customize the button in such a way that it opens a modal pop up with 3 options in the dropdown. Based on the user selection, it has redirect them to specific catalog item.
I have tried using declarative actions, which I implemented as client script.
However, when I try to click on New1 button in workspace it gives an alert. "Failed to execute action. Please contact system administrator"
Modal shows up as expected on the New1 button click. However, we are able to see the alert behind it.
I'm looking for some guidance on this. Any help would be really appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Ankur Bawiskar,
Yes, I have tried this in my PDI as admin, yet this shows error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
any reason to give timeout?
did you try adding small script and see?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
My script did not have timeout, even then it was giving this error.
I gave timeout because, Modal is waiting on the screen for the user to pick an option from dropdown. So, I gave timeout thinking that it is failing due to the wait time. Even if I gave timeout this does not work.

