UI action client script not working in workspace view and working only in native UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 02:42 AM
Hi @Ankur Bawiskar ,
I have a Ui action called "Create Reimage incident" on the related list to create incident by selecting the configuration item (CI's Affected table) as below.
Ui action and script :
script include which is called in UI action:
For this to be available on the Workspace related list i have created declarative action assignment as below and calling the same script which is there in ui action as well in declarative action assignment client script, which is making the Ui action visible in the related list, but when clicking on that getting error in the browser console as "SCRIPT:EXEC Error while running Client Script "GlideScopedScript": TypeError: g_form.getChecked is not a function"
Declarative Action assignment:
workspace Uia ction visbility:
can someone please help me know why this error is coming, when it is working fine in Native UI and not working in workspace and is there any other configuration i need to create to this work in workspace view