jobshop2.fsmHi,
I'm comfortable with Flexscript and I'm using this abstract problem to try to, belatedly, teach myself Process Flow and could do with some guidance.
I have 5 tasks to be completed in series in the order 1, 2, 3, 4, 5. Tasks 1, 2, 4, 5 all take 10 time units and task 3 takes 100 time units. There are 2 operators who can attend any task, and it makes sense to prioritize the downstream tasks . Transport between processes will be undertaken by the Operator who will undertake the process (hence transport, process, free operator) meaning that an operator can be freed up to other tasks when a processing task is complete
In the attached I have a list to store the Tasks, and a series of labels passed from the 3D world into the list: Priority is stage in the process (1 to 5), Entry is time entered the process, Order is a (badly named) counter that counts the number of times a token is replaced on the list and is reset to 0 On Entry to a processor, Start is the 3D object where the flow item is located, Destination is where it is going.
My approach is to have 2 Operator tokens in Process Flow, each checking contents of the list one at a time until some condition in the model changes and one of the List items can be moved to its destination.
I haven't worked out the Pull From List query correctly, but as I seem to be running into more and more problems with this approach and suspect that I have have a logic error rather than a bug to work through. The approach that I have taken results in a significant number of passes through the loop for the waiting tasks, that I'm not comfortable with.
Is there a better way to do this?
I want to adapt this model to remove the transport tasks, so the Operators will be called to the Processors for the processing time only, but can't see an obvious way to achieve this - am I missing something?