HI,
I am using the latest version V 2021.20.0.1. In this version, i am working on Process flow model.
I couldn't see the "shortest queue" option in the decide block.
HI,
I am using the latest version V 2021.20.0.1. In this version, i am working on Process flow model.
I couldn't see the "shortest queue" option in the decide block.
Hi @Sudharsan R, was marcello.rosadini's answer helpful? If so, please click the red "Accept" button at the bottom 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.
Hi Sudharsan,
that seems to be the case. I am not sure about the reason of it being removed, buy you could open the code editor for the Decide activity:
and just paste this code (copied from the shortest queue option on a previous version of FlexSim)
Object current = param(1); treenode activity = param(2); Token token = param(3); treenode processFlow = ownerobject(activity); /**Shortest Queue*/ /**Send to the connector corresponding to the activity with the shortest queue.*/ int curmincontent = 1000000000; // this sets the integer to the largest possible value that an integer can hold. int connector = 1; for (int index = 1; index <= nrop(activity); index++) { treenode tempactivity = outobject(activity, index); int activitycontent = getstat(tempactivity, "Content", STAT_CURRENT, current); if (activitycontent < curmincontent) { curmincontent = activitycontent; connector = index; } } return connector ;
15 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