Agent Workspace - how to get a list of sys_ids of selected items in a related list?

Brandon P1
Mega Guru

Hi All,

I have a need to be able to gather which items are selected in a related list in the aghent workspace that I can then pass to a script include to process.

I am able to do this without issues using a list choice on the platform but this does not apply to the agent workspace. 

so while this (https://community.servicenow.com/community?id=community_question&sys_id=43f04ba5db98dbc01dcaf3231f96...) works on the platform it does not seem to work in the agent workspace.  

situation:

the Customer service Case has a related list set up called Seats. My users need to be able to select one or more of the seat records in this list and then select an action.  I want to avoid processing the action for each record but rather gather the information needed from the seat records and then perform the rest message to a external source that needs to know all selected seats.  While I could do this one record at a time this would be inefficient and use unnecessary transactions when the endpoint I am communicating with will accept an array of string for each seat.

Thanks

1 REPLY 1

Natascha deJ
Tera Contributor

Did you ever find a solution?