Good point, Eystein.
If the agent is using the native Transfer action to send the workitem directly to another queue, then you're right-the workitem leaves the agent's ownership immediately and the agent no longer has an opportunity to perform a status change afterward.
In that case, I think the real question becomes:
"How can we detect that the destination queue has changed?"
Looking at the current Workitem Flow capabilities, I don't see a native event specifically for "queue transferred" that would allow us to execute logic exactly at that moment.
Because of that, I would investigate whether the destination queue change is exposed through:
- Task Management triggers
- Event notifications
- Workitem APIs (polling/reconciliation)
- Custom transfer process instead of the native transfer button
One alternative might be replacing the standard transfer process with a custom action where:
- The agent selects the target queue.
- A Workitem Flow or API process updates the skills/priority first.
- The workitem is then transferred programmatically.
That would give you control over the order of operations, although it does add complexity compared to the native transfer experience.
------------------------------
Gabriel Garcia
NA
------------------------------
Original Message:
Sent: 06-02-2026 10:00
From: Eystein Kylland
Subject: Problem when transfer a workitem to a new queue
There is one problem. If you transfer using the transfer button and select a queue the workitem is transferred and removed from agent. You are then not able to change the status.
------------------------------
Eystein Kylland
Systemutvikler Genesys Applikasjonsspesialist
------------------------------
Original Message:
Sent: 06-02-2026 09:47
From: Gabriel Garcia
Subject: Problem when transfer a workitem to a new queue
Hi Eystein,
I would first look at Workitem Flows before trying to solve this with Task Management triggers.
Unlike voice, messaging, or email, Workitems do not have In-Queue Flows, but Genesys provides dedicated Workitem Flows that can automate workitem processing throughout its lifecycle. Workitem Flows can read and update workitem attributes, priority, status, assignee, and even transfer workitems to users or queues. They can also execute automatically based on workitem events such as status changes.
One thing that caught my attention in your design is that you're updating the status before the transfer occurs. At that point, the workitem is still associated with the original queue, which explains why you're retrieving the old queueId.
Instead of trying to act before the transfer, I would investigate whether you can:
- Transfer the workitem first.
- Use a status transition after the transfer is completed.
- Trigger a Workitem Flow from that status change.
- Recalculate priority, skills, or other attributes based on the current queue assignment.
I haven't found documentation indicating that a queue transfer itself directly triggers a dedicated event that can be filtered natively, so I'd be cautious about relying on Task Management triggers for transfer detection alone.
If Workitem Flows cannot provide the exact event timing you need, then an event-driven approach using APIs and external automation may be required. However, I would exhaust the Workitem Flow capabilities first since they are the native mechanism designed for workitem lifecycle automation.
https://help.dev-genesys.cloud/articles/work-with-workitem-flows/
------------------------------
Gabriel Garcia
NA
------------------------------