Short description on Chat interaction
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2023 01:51 PM
Interaction created from chat has no short description, any idea why they are created blank and did anyone add info that helps agents to understand better before accepting the chat ?
@WillWitten any thoughts ?
- Labels:
-
Virtual Agent

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2023 02:49 PM
vaVars.LiveAgent_short_description = vaInputs.short_description;
Just note: Unless things changed in recent releases, for some reason this line of code (and the setting of any context variable I think) needs to be in a separate script action before vaSystem.connectToAgent().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 06:26 AM - edited 11-06-2023 06:32 AM
@Chris D How can i map custom fields of interaction table? I have currently done record action but i would like to map custom fields as one liner like for short description, any ideas?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 06:52 AM
I just have this done in a custom topic block via some input variables and a simple script - you can see how our custom "Affected CI" field is set here along with the Short Description and Work Notes:
var interaction = new GlideRecord('interaction');
interaction.get(vaVars._interaction_record_sysid)
if(vaInputs.short_description){
interaction.short_description = vaInputs.short_description;
}
if(vaInputs.affected_ci){
interaction.u_affected_ci = vaInputs.affected_ci;
}
if(vaInputs.work_notes){
interaction.work_notes = vaInputs.work_notes;
}
interaction.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 11:14 AM
@Chris D doing similar, just thought how to do via one liner; there must be a mapping script somewhere which can be extended like other csm util script includes.