Thanks for the response.
Isn't the in-queue flow an infinite loop?
The issue seems to be the evaluate schedule function is only evaluated the first time the email enters the queue. It doesn't re-evaluate in-queue, so the priority never gets re-set.
Our Contact Center works in multiple time zones, so we need to constantly evaluate the schedule for OOH so we can raise or lower the priority of the queue.
For example, if its in hours the queue gets high priority, so email is priority is increased, if its after hours low priority. emails priority is reduced, if the email is still there the morning the queue becomes high priority again, so email should priority is raised again.
------------------------------
Francis Hoang
TeleApps Services Pty Ltd
------------------------------
Original Message:
Sent: 08-01-2022 01:37
From: Lukasz Zwierko
Subject: Changing priority based on schedule
Hi, I think you should create a loop inside you in-queue flow and simply reevaluate the schedule every 5 minutes or so and then change the priority with "set priority" tool.
Łukasz
------------------------------
Lukasz Zwierko
Developer
DAMOVO POLSKA SP Z O O
------------------------------