clicking on new button in related list gives an alert : failed to execute action

Shivani4532
Tera Contributor

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.

Shivani4532_0-1770837282909.png



However, when I try to click on New1 button in workspace it gives an alert. "Failed to execute action. Please contact system administrator"

Shivani4532_2-1770837489989.png

 

Shivani4532_1-1770837438227.png

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.


0 REPLIES 0