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

To be clear, I am referring to here when I say add it to the decision condition.

 

johndoh_0-1687114655678.png

 

No I tried by creating the Variable, I'm not getting output for this script, don't know where I'm wrong, I wrote the script inside the execute function. Is is something write?


Did you try to remove the first function execute?

No I didn't remove it 

Krishna124_0-1687116731382.png

 

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