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?
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?
Hi @Melike Yk, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.
If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.
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.
thank you!
I tried this but without success. Could you check my Model?
Model name: Versuch_Vers3.fsm
It looks like you didn't create an array or use a list but instead are using Acquire Resource,
You can put ORDER BY RAND() in the Query field and see if that does what you want:
17 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved