Hello,
I'm working on a problem where at some point a worker will transport a specific amount of pallets. Whereafter these pallets are processed by a server and a server wil process them. Once processed, a different worker (or the same worker) will move the pallets to the next server. How do I save these entities as a batch and let workers know how much pallets they can process?
At the moment I have two approaches. One where I create a 'batch' as an entity and assign to it the amount of pallets. The 'problem' in that case is that I do need to count the amount of pallets at a server, since it has a certain capacity. And sometimes an initial batch whitch comes from a truck needs to be split to fit the capacity of workers. But once this would be fixed, the worker will always transport the right amount of pallets.
A second approach that I have tried is to create the pallet entities normally, and assign a 'PalletHistory' in the modelEntity properties, but I find that after processing I can't find this palletHistory for the workers to get a sign of how many pallets to transport.
Do any of you guys have an idea how I can approach this?
Greetings