Agent Workspace: Checkbox/selector for Multiple Record Section

TStark
Kilo Sage

I have an Agent Workspace List view (Task table list My Work) that doesn't display the checkbox that allows you to select 1 or multiple records. Below is a screenshot of an example of what I'm looking for. I can't figure out how to enable this for the AWS Lists that don't have it. I've tried comparing the lists that have it with the lists that don't have and.....nothing. I've looked in the Workspace view/columns and....nothing. I've also tried configuring the Workspace List Columns and....nothing. Any advice would be much appreciated.

 

find_real_file.png
Thanks,
AJ

1 ACCEPTED SOLUTION

Tony Nguyen
ServiceNow Employee
ServiceNow Employee

Hi AJ,

The checkboxes are triggered by Declarative Actions. The logic behind this is that you only need checkboxes if you intend to take an action on the selected items. Without that logic, the checkboxes don't provide any other value. For instance, an "Edit" action would trigger the drawing of the checkboxes. Do you have any actions defined? Can you provide a full page screenshot of your list that doesn't have the checkboxes? Would be happy to help here.

-Tony

View solution in original post

9 REPLIES 9

Hi Tony,

I reviewed the documentation on the link you've provided. Since there are current Workspace Lists views with the checkbox then there should be an existing declarative actions (Action Assignments) for those current Lists. I searched and do not see it/them. Do you happen to know which Action Assignments determine the select boxes?

Thanks,
AJ

Tony Nguyen
ServiceNow Employee
ServiceNow Employee

If you see an "EDIT" button on the list, that's an action.

Maybe we should back up. What are you intending to do to the item(s) you selected?

-Tony

Samriddhi
ServiceNow Employee
ServiceNow Employee

Hi AJ, 

In addition to Tony's answer, these check boxes are based on the declarative actions that are present for the selected records from the list. So check the declarative actions for the list page and there you will find a field called ’Record Selection Required, when you set value of this field to be true, these check boxes will show up in the list view.

 

Vincent4
Kilo Contributor

This problem bothered me a while as well. Just in case someone still bumps into this issue, here is my two cents. I think Tony is right.  First, you need to have a list action defined against the table and the "Record Selection Required" is checked.  Second, the list action's Conditions are satisfied, e.g. the user has appropriate permission to execute the action.  

find_real_file.png

Udit Maheshwar1
Tera Expert

Hi All,

I have to setup a custom UI action in related list of table. But I am facing issue with below:

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 (Looks like records are not selected).

Code:

var ids = g_list.getChecked();

alert(ids);

g_list.refresh();

 

Is there anything else I need to setup to get this worked?

Thanks,

Udit