Get Schedule Close time

Hi All,
Is there a way to find out how long is left until the contact centre closes from Schedules?

I am looking to create a decision expression that looks at the time difference and if it is 15 minutes till the contact cente closes, to do something.

Is there a way I can achieve this in Architect?

Thanks,

Use the Evaluate Schedule or Evaluate Schedule Group action, but instead of letting it use the current time switch to specific and use an expression like this

AddMinutes(GetCurrentDateTimeUtc(), 15)

Hi Melissa,

Thank you for that. But that would just choose the "Closed" path then, where there is a separate action.

What I looking for is for the call to still go to the "Open" path and do some action if it's 15 mins until the contact centre closes. Can this be achieved?

Thanks,

Use the action twice. One time use the current datetime, the other use the current datetime+15 minutes. Now you know whether you are in that 15 minute gap.

2 Likes

That is quite an ingenious way to achieve what I am looking for.

It works, thank you!

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.