Scenario Assumption: The product must go through these three workstations. If all are completed, it will go to "finish," indicating the work is done. Otherwise, it will search for a workstation that can continue processing.
I tried using Model.find("Queue").Subnodes.length
to find the queue with the least number of items (i.e., determining which among queue2
, queue3
, queue4
has the least items) as part of my model logic, but after attempting it, I still failed. Therefore, I am asking everyone if there are any ways to solve my problem.
text.fsm