Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Workspace Script Issues

Udit Maheshwar1
Tera Expert

Hi Team,

I have to setup some custom UI actions in related list of table. But I am facing issues with below:

1. g_list.getChecked not working in Declarative action assignment - client script. I am using below code to get the sys_id of records which are selected in list view but getting empty alert. Code:

var ids = g_list.getChecked();

alert(ids);

g_list.refresh();

 

2. action.getGlideURI() not working in Declarative action assignment - server script. Is there any alternative function which we can use instead of this. Also, 'gs' function are not giving any values under the server script whenever I am trying to use addInfoMessage or addErrorMessage function.

Thanks in advance.

Udit Maheshwari

1 REPLY 1

Ram118
Mega Guru

Hi @Udit Maheshwar1 

I am also facing similar kind of issue. if you got any solution for this.. please let me know