Virtual agent - When user is idle whilst connected to advisor

EveP
Tera Contributor

What are the possibility's of alerting a user that they have been unactive on the virtual agent and there is a response waiting for them?

 

Currently we have nothing in place other than the ping sound when a message is received. Thanks 

1 ACCEPTED SOLUTION

Tanushree Maiti
Kilo Patron

Hi @EveP 

 

How to Change the Timeout:

To make this change, there are two things involved:

System Property: There's a setting called "com.glide.cs.conversation_idle_timeout" that controls the timeout duration.

Scheduled Job: A background process named "Time Out Abandoned VA Conversations" needs to be updated to run regularly and clear out inactive chats according to the new timeout.

 

If the property does not exist you can create one. The OOB setting of the property is 24 hours in seconds [Integer - 86400]. Similarly, the job has to be configured periodically. 

 

Change the idle chat timeout values

Add the com.glide.cs.idle_chat_reminder_timeout and the com.glide.cs.idle_chat_cancel_timeout properties to the System Property [sys_properties] table to set the chat reminder message timeout and the idle chat cancel timeout values. Create both properties at the same time.

  1. As admin, navigate to All, and then enter sys_properties.list in the filter.
  2. Select New to add the com.glide.cs.idle_chat_reminder_timeout property.
    1. On the form, fill in the fields.
       Field Value
      NameSystem property name. Enter: com.glide.cs.idle_chat_reminder_timeout
      DescriptionExplanation for this property. For example: Idle chat reminder timeout (in seconds)
      TypeData type. Select integer.
      ValueEnter the number of seconds before the idle chat reminder message is displayed, after the requester's last response. This value must be equal to or greater than 120 seconds, since the Idle Chat Timer Task job runs every 120 seconds to check active chat sessions.

      For example, if the idle chat reminder message is to be displayed 5 minutes after the requester's last response, enter 300 seconds.

      Note:
      If you want to set an idle chat message reminder timeout that is under 120 seconds, you must also change the time at which the Idle Chat Timer Task job runs. The job must check for idle chats within a shorter time frame. For example, if the reminder message timeout is 60 seconds after the requester's last response, set the Idle Chat Timer Task job to run every 60 seconds. For more information on base system scheduled jobs, see System scheduler.
    2. Select Submit.
  3. In the System Properties table, select New to add the com.glide.cs.idle_chat_cancel_timeout property.
    1. On the form, fill in the fields.
       Field Value
      NameSystem property name. Enter: com.glide.cs.idle_chat_cancel_timeout
      DescriptionExplanation for this property. For example: Idle chat cancel timeout (in seconds)
      TypeData type. Select integer.
      ValueNumber of seconds before an idle chat is canceled (times out). This value must be larger than com.glide.cs.idle_chat_reminder_timeout, where the difference between this value and com.glide.cs.idle_chat_reminder_timeout is larger than or equal to 120 seconds (2 minutes, which is when the Idle Chat Timer Task job runs).

      For example, if the reminder message timeout value is 300 seconds (5 minutes), the idle chat cancel timeout value must be 420 seconds or greater.

      Note:
      If you changed the Idle Chat Timer Task job, the difference between the chat cancel timeout value and the idle chat reminder timeout must be larger or equal to the Idle Chat Timer Task job time. For example, if the reminder timeout is 60 seconds and the Idle Chat Timer Task job is also 60 seconds, the idle chat cancel timeout value must be 120 seconds or greater.
    2. Select Submit.

Set the inactivity timeout behavior

The com.glide.cs.start_idle_timeout_after_agent_response property determines the timeout behavior when inactivity is triggered. When this property is true, the inactivity timer does not start until the agent sends a non-automated response to the requester.

  1. As admin, navigate to All, and then enter sys_properties.list in the filter.
  2. Select New to add the com.glide.cs.start_idle_timeout_after_agent_response property.
    1. On the form, fill in the fields.
       Field Value
      NameSystem property name. Enter: com.glide.cs.start_idle_timeout_after_agent_response
      DescriptionExplanation for this property. For example: Timeout behavior when inactivity should be triggered.
      TypeData type. Select true/false.
      ValueEither true or false.
    2. Select Submit.

Set the server disconnect timeout for guest conversations

The com.glide.cs.chat_disconnect_timeout property determines how long the system will wait to reconnect a disconnected conversation before it ends the chat. If communication is reestablished during that timeframe, the conversation resumes.

  1. As admin, navigate to All, and then enter sys_properties.list in the filter.
  2. Select New to add the com.glide.cs.chat_disconnect_timeout property.
    1. On the form, fill in the fields.
       Field Value
      NameSystem property name. Enter: com.glide.cs.chat_disconnect_timeout
      DescriptionExplanation for this property. For example: Timeout behavior for disconnected guest conversations.
      TypeData type. Select integer.
      ValueNumber of seconds before a disconnected guest chat is canceled (times out). The client will try to reconnect during that time.
    2. Select Submit.

 

 

Refer this servicenow Documentation &  helpful article: 

Controlling idle live chat sessions 

Understanding Virtual Assistant Timeout Settings

How to Automatically close the Virtual Agent conversation if users don't take the actions within 2 h... 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

View solution in original post

1 REPLY 1

Tanushree Maiti
Kilo Patron

Hi @EveP 

 

How to Change the Timeout:

To make this change, there are two things involved:

System Property: There's a setting called "com.glide.cs.conversation_idle_timeout" that controls the timeout duration.

Scheduled Job: A background process named "Time Out Abandoned VA Conversations" needs to be updated to run regularly and clear out inactive chats according to the new timeout.

 

If the property does not exist you can create one. The OOB setting of the property is 24 hours in seconds [Integer - 86400]. Similarly, the job has to be configured periodically. 

 

Change the idle chat timeout values

Add the com.glide.cs.idle_chat_reminder_timeout and the com.glide.cs.idle_chat_cancel_timeout properties to the System Property [sys_properties] table to set the chat reminder message timeout and the idle chat cancel timeout values. Create both properties at the same time.

  1. As admin, navigate to All, and then enter sys_properties.list in the filter.
  2. Select New to add the com.glide.cs.idle_chat_reminder_timeout property.
    1. On the form, fill in the fields.
       Field Value
      NameSystem property name. Enter: com.glide.cs.idle_chat_reminder_timeout
      DescriptionExplanation for this property. For example: Idle chat reminder timeout (in seconds)
      TypeData type. Select integer.
      ValueEnter the number of seconds before the idle chat reminder message is displayed, after the requester's last response. This value must be equal to or greater than 120 seconds, since the Idle Chat Timer Task job runs every 120 seconds to check active chat sessions.

      For example, if the idle chat reminder message is to be displayed 5 minutes after the requester's last response, enter 300 seconds.

      Note:
      If you want to set an idle chat message reminder timeout that is under 120 seconds, you must also change the time at which the Idle Chat Timer Task job runs. The job must check for idle chats within a shorter time frame. For example, if the reminder message timeout is 60 seconds after the requester's last response, set the Idle Chat Timer Task job to run every 60 seconds. For more information on base system scheduled jobs, see System scheduler.
    2. Select Submit.
  3. In the System Properties table, select New to add the com.glide.cs.idle_chat_cancel_timeout property.
    1. On the form, fill in the fields.
       Field Value
      NameSystem property name. Enter: com.glide.cs.idle_chat_cancel_timeout
      DescriptionExplanation for this property. For example: Idle chat cancel timeout (in seconds)
      TypeData type. Select integer.
      ValueNumber of seconds before an idle chat is canceled (times out). This value must be larger than com.glide.cs.idle_chat_reminder_timeout, where the difference between this value and com.glide.cs.idle_chat_reminder_timeout is larger than or equal to 120 seconds (2 minutes, which is when the Idle Chat Timer Task job runs).

      For example, if the reminder message timeout value is 300 seconds (5 minutes), the idle chat cancel timeout value must be 420 seconds or greater.

      Note:
      If you changed the Idle Chat Timer Task job, the difference between the chat cancel timeout value and the idle chat reminder timeout must be larger or equal to the Idle Chat Timer Task job time. For example, if the reminder timeout is 60 seconds and the Idle Chat Timer Task job is also 60 seconds, the idle chat cancel timeout value must be 120 seconds or greater.
    2. Select Submit.

Set the inactivity timeout behavior

The com.glide.cs.start_idle_timeout_after_agent_response property determines the timeout behavior when inactivity is triggered. When this property is true, the inactivity timer does not start until the agent sends a non-automated response to the requester.

  1. As admin, navigate to All, and then enter sys_properties.list in the filter.
  2. Select New to add the com.glide.cs.start_idle_timeout_after_agent_response property.
    1. On the form, fill in the fields.
       Field Value
      NameSystem property name. Enter: com.glide.cs.start_idle_timeout_after_agent_response
      DescriptionExplanation for this property. For example: Timeout behavior when inactivity should be triggered.
      TypeData type. Select true/false.
      ValueEither true or false.
    2. Select Submit.

Set the server disconnect timeout for guest conversations

The com.glide.cs.chat_disconnect_timeout property determines how long the system will wait to reconnect a disconnected conversation before it ends the chat. If communication is reestablished during that timeframe, the conversation resumes.

  1. As admin, navigate to All, and then enter sys_properties.list in the filter.
  2. Select New to add the com.glide.cs.chat_disconnect_timeout property.
    1. On the form, fill in the fields.
       Field Value
      NameSystem property name. Enter: com.glide.cs.chat_disconnect_timeout
      DescriptionExplanation for this property. For example: Timeout behavior for disconnected guest conversations.
      TypeData type. Select integer.
      ValueNumber of seconds before a disconnected guest chat is canceled (times out). The client will try to reconnect during that time.
    2. Select Submit.

 

 

Refer this servicenow Documentation &  helpful article: 

Controlling idle live chat sessions 

Understanding Virtual Assistant Timeout Settings

How to Automatically close the Virtual Agent conversation if users don't take the actions within 2 h... 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: