How do i recreate a loading truck case with a limited number of trucks?

Solution for How do i recreate a loading truck case with a limited number of trucks?
is Given Below:

I have a warehouse with many palletrack which contains raw materials that have to be loaded on trucks and moved in a second warehouse.The loading zone(where trucks are loaded) are the green rectangular nodes (see image).the problem is that i don’t know how to recreate the loading. If i use a seize then every single agent will seize a truck,but if i used the pickup block (like the pickup model tutorial),source would create more trucks than i want(they are limited).
Any tips? (i want to say thanks to all the people who are helping me these week by the way)
pickup case
network

Although there are many ways to model this I think the best option would be to batch your agents into truckloads and then to seize the trucks. Trucks must live inside a resource pool, so that you can have a fixed number of trucks.

Since you are using a network model I would then suggest you attach the truck to the batch you created and move it around and then detach the truck and release it afterward. You can however simply seize the truck and have the batch object use the animation of a truck.

enter image description here