JagjeetSingh
Kilo Sage
Kilo Sage

Agent Assist in CSM Workspace for Case Types:

 

Looking to add Agent Assist to additional tables in CSM Configurable workspace? Here is your guide.

1. Set up Contextual Search Table Configuration:

Navigate to Contextual Search > Table Configuration and Open the record "Agent Assist[sn_customerservice_case]" where UI type is Workspace.

find_real_file.png

Change the table name to your extended table and use "Insert and stay" UI action to create the table configuration. Copy the sys id of your newly created record.

2. Set up contextual side panel action assignment:

Navigate to Workspace Experience > Actions & Components > Contextual Side Panel. Open the record with Action label "Agent Assist" on Case table. Again change the table and use "Insert" or "Insert and stay" UI actions.

 

find_real_file.png

Now, go back to the list view of Action Assignments.(Workspace Experience > Actions & Components > Contextual Side Panel). Personalize the list and add "Component Attributes" column to list view. Replace the sys id in attribute with the one you copied in step 1. The new payload would look like this.

{"cxsTableConfig":"table configuration sys_id_here"}

 

3. Modify Agent Assist screen conditions:

Now, these two steps are enough to make it work in Agent Workspace but to make it work in CSM workspace you need to do one more configuration.

  • Navigate to "sys_ux_screen" table.
  • Filter the list with sys id = D7b93d16453c3101043d7ddeeff7b1211. This is the sys id of Agent Assist screen used in CSM workspace.
  • Open the record and modify the screen condition. Use ^ORparent.table=your_table_nameat end of condition to add your custom tables and save the record.

 

That's it! The Agent Assist would appear on in your CSM workspace for custom tables.

 

Comments
KristinaHartman
Tera Explorer

This is a wonderful article. In a customer instance, I found these two differences from what this article says.

 

  1. The field 'Component Attributes' was named 'Action Attributes' in their instance.
  2. The sys_id for the sys_ux_screen record was different in their instance. We were able to filter the list using the name of the screen (starts with Agent) and the workspace name to find the record we were looking for.

Many thanks for posting these instructions.

JRY
Mega Guru

Hi,

I have followed the above steps, but I still can't see agent assistance for knowledge articles on the CSM workspace. Can you please tell me what went wrong?

 

JRY_0-1694713325198.png

JRY_0-1694713457988.png

 

 

Thanks,

Chaitanya

KristinaHartman
Tera Explorer

Vancouver apparently requires extra steps. The config above will enable the icon for the case type, but the icon doesn't do anything anymore OOB. I think something in the last upgrade changed what's needed.

Matteo11
Tera Contributor

Hello,

 

i followed the steps on Vancouver and stumbled upon 2 things:

 

1. Table Configuration: I was not able to change the Table regularly, but had to use sn-utils' "Label-double-click " feature to change the value, e.g.:

Matteo11_2-1706110434060.png

Otherwise Insert & Stay worked afterwards.

2. Screen condition (sys_ux_screen). The sys_id in the article has an extra character D prepended. Just ignore the "D":

Matteo11_3-1706110510450.png

 

 Apart from that worked like a charm on Vancouver. Many thanks for the steps provided 🙂

 

Eheitman
Tera Guru

Hello,

 

The other thing I had to do to get this to work properly in Vancouver was add my Agent Assist and Response Template Table Configurations to the UX Page Property table (sys_ux_page_property) under contextualTableConfigMapping_main. This allows the Side Panel Tab Management Controller to find the config and solved the No Table Configuration issue when clicking the Response Template Contextual Side Panel icon on my extended table

 

Hope this helps anyone else that was stuck like me

jay97
Tera Contributor

Hello ,

 

I have tried in Washington upgraded instance this it is working for me I will explain what I did basically .

 

 

1.  Go to cxs_table_config.LIST table which your Table Configurations

 

Change the table name ussing snUtlis on which you want to place agent assist .

Example on table = xyz and click on insert and stay .

 

Keep the sys id handy which we will use in the second step and theree 

 

jay97_0-1725355609132.png

 

2;go here  Workspace Experience > Actions & Components > Contextual Side Panel.( sys_declarative_action_assignment)

 

search for this agent assist on case table and to insert and stay and change the table name

jay97_1-1725355834080.png

 

now change the you have simiilar record like above in the list now you need to replace the sys id from the 1 step to  {"cxsTableConfig":" paste the step 1 sys id here"} in action attrribute

 

 

3 . Now open the sys_ux_page_registry table and search for the contextualTableConfigMapping_main 

 

 

jay97_2-1725356236603.png

 

Open the the record and in the value section like below

{"table= where you want agent assist ":"step 1 sys id "},

jay97_3-1725356282531.png

 

5. go to the sys_ux_screen table and find for Agent Assist Screen  

 

jay97_4-1725356412374.png

 

jay97_5-1725356530465.png

 

here you need to add condtion like this  ^ORparent.table=table where you want to add agent assist button.

 

By doing this it will enable hte agent assit on the csm configurable workspace. 

 

same step should be applied for the response template. 

 

 

 

 

 

 

 

 

 

 

 

Giovanni Ragosa
ServiceNow Employee
ServiceNow Employee

any help on Xanadu? The instructions won't work, i have no Action Attributes nor contextualTableConfigMapping_main ...

Antoni Zahariev
Tera Guru

@Giovanni Ragosa , the contextualTableConfigMapping_main is this one: <instance_url>/sys_ux_page_property.do%3Fsys_id%3D74c6024843f51110772811618bb8f2e7

 

Please, clarify which table do you refer to for the "Action Attributes".

Teresa Ko
Tera Explorer

For Xanadu users, the above works, but you need to look for Component Attributes as in the original post and the extra step of adding the table to contextualTableConfigMapping_main. You can find this on the UX Page Properties list (sys_ux_page_property.list)

Ricardo Reis
Tera Contributor

@Teresa Ko @Antoni Zahariev @Giovanni Ragosa I can't find contextualTableConfigMapping_main on the UX Page Properties list.

Please, how can I activate it or make it visible?

Thank you

PeterdeBock VU
Tera Contributor

@Ricardo Reis , hereby the link to the appropriate UX Page Properties list. I believe in one of the posts above the Property Registry is listed instead of Property. 

https://xxxxxxxxx.service-now.com/nav_to.do?uri=sys_ux_page_property.do?sys_id=74c6024843f5111077281...

 

In our customer instance and in my PDI this link is valid.

regards, Peter

Version history
Last update:
‎04-30-2022 12:26 AM
Updated by: