Hi @霈倫 , was Tomasz MG's answer helpful? If so, please click the red "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.
Hi
Try something like this in decide block
value of pallet label Type will be number of connector going from decide block
This is kind of a double label. It works by looking at the token, then the label "PulledItem" on the token, then the label "Type" that is on the "PulledItem." If you click on the token, you can see the labels in the properties window.
So here, the token.PulledItem label is a pointer to the Pallet that's being carried by the TaskExecuter and MOM Car.
When we add token.PulledItem.Type, we are now looking at a label on the PulledItem (or the pallet in the reference). If we click on the pallet, we can see its labels in the property window (Type has a value of 2).
So the "Send to Token" in the decide activity will either have a value of 1 or 2. The Decide activity will then send the token out one of its connectors, either 1 or 2 depending on what the item Type is.
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