Interaction and interaction context in CSM workspace

sony8
Tera Contributor

Hello

 

 

I am working on CSM workspace.

here the case gets created when an interaction happens using chat/phone/virtual agent

sony8_1-1740732850829.png

 

There is interaction table when it is in CSM workspace view we can able to see Interaction Context related table.

In the interaction context we can get below records with name and value

sony8_2-1740732957097.png

I need to copy  "liveagent_configured" to the interaction table field from Interaction context.

 

Any idea how to COPY INTERACTION CONTEXT RECORD DATA TO INTERACTION FIELD?

 

 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @sony8 

I believe yes, you can do this, but you’ll need to create a Business Rule for it. I'm not a developer, so I can't provide the script, but you can search the community for something similar, like "copy comments from related list to parent table," to get an idea and then modify it to fit your requirement.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

@Dr Atul G- LNG  

 

thank you for the response.

 

yes it is achieved through business rule.

but if i need to copy parent to child it is ok. 

 

here there is some logic.

 

in interaction context if i get interaction - interaction context -> "liveagent_configured" then copy to interaction record form field.

how i can filter and copy.

Yes, it is 100% doable.

The table name is Liveagen_config, so you can filter based on that and retrieve all content using getValue. Then, you can set it to another record.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************