Populate short description field of interaction from the text entered by user in the virtual agent chat conversation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2020 01:07 AM
When the chat interaction is created,the short description field of interaction should be populated from the virtual agent chat conversation i.e., specifically the text entered by the user in the chat that text needs to be in autopopulated in the short description field of interaction.
Can someone help me how to achieve this?
Topic: Virtual Agent;Agent Workspace
Version:Orlando
- Labels:
-
Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2020 06:16 AM
I would go for Business rule.
In Interaction form, there is a related list "Interaction Logs" where you can find Utterances. I would implement script looking for "oldest" utterance (this was entered as a first input from user) and put it into short description of Interaction.
The BR would run on Interaction table. Conditions should be set based on needs, not sure about your case but it can be like "if short description is empty and assigned to is virtual agent / type is Virtual agent, etc."