Hi,
I've recently created an entity that uses queues as part of its process, and I have created statuses for the record based on if the record is assigned to someone and then they can highlight if they are currently working on the record.
I've enabled the record to move around queues as it is re-assigned round the people that need to see it, so at whatever stage it is at the person who needs to do something with it should see it in their queue. The query comes with the queue item associated with the record. There are buttons in the ribbon that allow the user to re-route the item to another queue, say they are working on it etc. As any update the the queue the item is in or who is working on it doesn't update back to the record there is a way for the queue item and the record to become disconnected. So the record could be owned and worked on by one user, but the item could be showing it in another queue and worked on by a different user.
The only way that i can think of to link the two up is to have a plugin on the queue item that checks for the related object type (as this only needs to happen with records of this type) and any changes to it are either written back to the record or stopped as it must be done via the record itself.
But i'm not sure if this is the best way to go, so i was wondering if anyone had a better idea on how this could be done. I realise this probably isn't how queues are meant to be used properly and things have been made very overcomplicated.
Thanks