Closing Virtual Agent and Agent Chat conversations
Virtual Agent and Agent Chat conversations that are abandoned by requesters remain open until they are automatically closed by the scheduled job, Time Out Abandoned VA Conversations. This job runs hourly each day.
The default timeout period for abandoned Virtual Agent and live agent conversations is two hours (7200 seconds). The Time Out Abandoned VA Conversations job runs hourly to find and close any conversations that have been open longer than the default (or configured) timeout period.
As admins, you can change the default timeout period for closing Virtual Agent and live agent conversations by adding the system property com.glide.cs.conversation_idle_timeout. The timeout value that you specify in this property applies to all conversations in supported Virtual Agent and live agent channels, including chat channels (such as Microsoft Teams, Slack, and Workplace from Facebook) and messaging channels (such as SMS). For details, see Change the timeout period for Virtual Agent and live agent conversations.
If you're using Virtual Agent and Agent Chat on multiple chat channels, you can add a channel-level idle timeout value that overrides the timeout value set in the com.glide.cs.conversation_idle_timeout property for chat channels. For details, see Override the conversation timeout period by channel.
If needed, you can also change the time at which the Time Out Abandoned VA Conversations job runs.
Closing the conversation in an LLM chat works similarly to NLU/keyword chat. You enter a phrase such as Bye or Exit, the LLM recognizes the statement, and closes the conversation.
Change the timeout period for Virtual Agent and live agent conversations
Add the com.glide.cs.conversation_idle_timeout property to the System Property [sys_properties] table to specify the length of time that an abandoned Virtual Agent or Live Agent conversation remains open (idle). When the Time Out Abandoned VA Conversations job runs hourly, it closes any Virtual Agent and Live Agent conversations that have been open longer than the specified time.
- In the navigation filter, enter sys_properties.list.
- Click New.
- Complete these fields:
Field Value Name Enter the system property name: com.glide.cs.conversation_idle_timeout Description Enter an explanation for this property: Idle timeout period (in seconds) for all conversations Type Select integer. Value Enter the number of seconds that abandoned Virtual Agent or Live Agent conversations remain open, after the requester's last response. This value must be less than 7200 seconds, since the Time Out Abandoned VA Conversations job runs every 3600 seconds (hourly) to close idle conversations.
For example, a value of 1800 seconds (30 minutes) means that an abandoned conversation remains open for 1800 seconds (30 minutes). When the Time Out Abandoned VA Conversations job runs, it closes any conversations that have been idle longer than 1800 seconds.
- Click Submit.
- Complete these fields:
Override the conversation timeout period by channel
You can set the conversation timeout value for a channel by adding a channel-specific conversation timeout value that overrides the com.glide.cs.conversation_idle_timeout property. When the Time Out Abandoned VA Conversations job runs hourly, it closes any Virtual Agent or Live Agent conversations in the channel that have been open longer than the specified time.
- In the navigation filter, enter sys_cs_channel.list.
- In the Messaging Channels table, locate the channel record to be changed and double click the Conversation Idle Timeout field.
- Enter the number of seconds that abandoned Virtual Agent or Live Agent conversations remain open in the channel, after the requester's last
response.
For example, a value of 1800 seconds (30 minutes) means that an abandoned conversation in the channel remains open for 1800 seconds (30 minutes). When the Time Out Abandoned VA Conversations job runs, it closes any conversations that have been idle longer than 1800 seconds.
- Save the value.
Change the Time Out Abandoned VA Conversations scheduled job
- Navigate to and open the Time Out Abandoned VA Conversations record.
- In the Scheduled Script Execution form, change the Time at which the
scheduled job runs. Or, depending on how you want to adjust the timing, change other fields in
the form as needed.
For example, to change the interval at which the job runs, in the Run field, select Periodically. You then specify the Repeat Interval (Days and Hours) that the job runs and the Starting date for the interval. For a description of the other fields that you can change in this form, see Automatically run a script of your choosing.
- Click Update.
The job runs at the specified time and frequency.