Hi @José Antonio C3,
If you want to release an item to another queue if it is in a queue for too long, I would use messages and the moveobject() command. I have attached an example model that shows this concept.
In my model, you will see that I have a main queue called Call Queue and another Queue called Missed Queue. When boxes enter the Call Queue, a message is sent. This is done in the On Entry Trigger. I used the picklist option, Send a Message, which is found under Control. The message is being sent from the item to the Queue itself. This way the Call Queue handles the logic. The delay time for the message is amount of time you want the box to wait in the Call Queue before being moved to the Missed Queue.
When the message is sent it will fire the On Message Trigger. In the On Message Trigger, I first check to see if the item still exists. Then if it does exist, I check to see if it is still inside Call Queue. If the box is still in the Call Queue, then I use the moveobject() command to move the box from the Call Queue to the Missed Queue. The moveobject() command has two parameters; the object to move (which is the msgsendingobject) and where to move the object (which I identified using a centerport connection).
When you run the model, you will see that it moves the items over if it has been too long. Hope this helps.
Max Time In Queue Example Model.fsm