@Alexis Gerardo Navarro A.
I didn't see that @Jeff Nordgren had beat me to answering this question. We both did very similar things to achieve the same results. I think the most important thing is that you think through what works for you and what the next steps are, like where the objects go after the racks and how to reset the rack types.
Thanks for posting an example. I don't quite understand everything in your model, but I've attached an example model that you can review.
In the example model, there are two important key elements.
1) The racks have a label that is called "Type" (for demonstration purposes). This label is updated to be the "Type" of whatever the first item is to enter the rack.

2) In the EntradaExpo queue under the "Flow" tab, there's custom logic in the "Send To Port" parameter. This code takes the type of the item it is trying to send and checks each of the racks connected to the queue for a matching item type label. Then the item is sent to the matching rack.

Hopefully this makes sense and is helpful. Sorry, I didn't integrate your labels because I wasn't sure which ones were important in defining object location. This idea might get you started on implementing this in your model, though. For reference, I've attached an updated version of your model:
rack-match-type.fsm