Custom Delete UI action is not working.

shubham2512
Giga Contributor

Question on UI action -:

I have created a Delete UI action(form) custom on an specific table same as out of box Global UI action Delete.But the custom UI action is not working and it is not deleting the record.

We have used same script as global UI action script in custom UI action.

And I tried same thing on multiple service now instances but it is giving same error as attached on all instances.

 

Anyone can help me.

1 ACCEPTED SOLUTION

We are getting error due to script is able not access window object.

Resolution -: There is a check box called 'Isolate Script' on Ui action table, we need to mark it false in order to use the window object, london onwards.

 

Thanks.

View solution in original post

7 REPLIES 7

Hi Shubham,

Can you share the detail what error it was and how it was resolved?

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

We are getting error due to script is able not access window object.

Resolution -: There is a check box called 'Isolate Script' on Ui action table, we need to mark it false in order to use the window object, london onwards.

 

Thanks.

How was it resolved? Someone else might have the same problem and want to know the solution.