Agent chat message based on Schedule hours

Kri
Tera Guru

I want to show a no agent available message based on the Schedule time

if it is falling during the Schedule time then the message should display 'No agents available to take the chat, all are busy in other chat'

if it is falling outside the Schedule time then the message should display 'All agents are offline now, please contact during the working hours 8AM-5PM Mon-Fri'

@Mark Roethof 

1 ACCEPTED SOLUTION

Remove lines 2,9 and 10. Sorry about that as I should have noticed that when you added that directly in the workflow.

View solution in original post

35 REPLIES 35

I didn't tried, I just kept a message in 'no agent available' field in Conversational interface so I don't understand how to check Live agent available status and schedule time and display message accordingly

Than the first thing would be to start with applying vaSystem.isLiveAgentAvailable(). This will be true or false. If it's true, apply vaSystem.connectToAgent().

 

Make that up-and-running first, and than possible follow-up questions.

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Where should I apply those condition, I see Advanced condition mode in the Queue do you mean over there?

Krishna124_0-1686834427105.png



or do you mean to add in the below designer?

Krishna124_0-1686835630823.png

 

I thought I saw in your previous questions that you are using the Virtual Agent web client. So I assume you want to see this behavior there? Is that correct? Or did I misinterpret your question?

 

If indeed Virtual Agent web client: then you need to add that logic in your Topic, so using the Virtual Agent designer.

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Its for the Live Agent not for Virtual Agent Web Client