question

Melike Yk avatar image
0 Likes"
Melike Yk asked Jason Lightfoot commented

take first avaible operator in the near

I am trying to figure out how I can choose a random first avaible operator to do the task in the process flow. I tried to put all Operators in a group but it didnt work.

Is there any other logic to do this?


1661936550298.png

FlexSim 22.2.1
process flowoperatorfirst available
1661936550298.png (30.1 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

You can have them in a list and when you pull them add the clause ORDER BY RAND(). Or create an array of those available and use duniform(1, myarray.length) as the index of the array.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.