I want the combiner to combine Type 1 and Type 2 box and then assign new label of Type = Type 5 and ItemName = Product 5.
I used On Exit trigger on the combiner but it doesn't update the box's label.
I want the combiner to combine Type 1 and Type 2 box and then assign new label of Type = Type 5 and ItemName = Product 5.
I used On Exit trigger on the combiner but it doesn't update the box's label.
Hi @Howard, was one of Howard's or Jason Lightfoot's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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 comment back to reopen your question.
You need to put "Product5" in quotation marks since it is a string.
It worked when the box is in Queue9. However, the ItemName label changes from Product5 to Product1when the box moves from Queue9 to QueueIn2.
Here are the Set Label on the Queue9's On Entry trigger:
Queue9 label on box:
QueueIn2 label on box:
I even added the code to Combiner to delete all labels on exit trigger but still has issue.
I have added a conditional decide in the process flow but it doesn't seems to work.
For "Assign Labels: Get Table Data" and "More Steps", should I use the actual name of the item (Item.name) or the label (Item.ItemName)?
For the product5, if I want to use the actual name, can I match the actual name to the latest "ItemName"?
You can of course always change the name according to the label.
Either in a code snippet in a trigger (item.name = item.ItemName) or in a Custom Code activity (token.Item.name = token.Item.ItemName).
Let's stick with only using the label as ItemName.
Under the Decide (Has ItemName?) port #2's Assign Labels: Get Table Data (Assign Label).: Get Table Data, I updated "token.Item.name" to "token.Item.ItemName".
Under the Decide (Has ItemName?) port #1's Assign Labels: Get Table Data (Assign Label), I updated "token.Item.name" to "token.Item.ItemName".
Under More Steps (Decide), I updated the "== token.Item.name" to "== token.Item.ItemName" in More Steps (Decide) in the process flow.
I am getting this error.
But then, it seems to work if I keep the "token.Item.name" and not update it to "token.Item.ItemName" under the Decide(Has ItemName?) port #2's Assign Labels: Get Table Data.
I am a little confused when the token gets assign the "name" and why I cannot use all ItemName as label everywhere in the token.
The token enters that activity because it does not have the "ItemName" label yet. Here you can't use the label to get the row to then get the label value. I missed that when saying that either would work.
That said, you can avoid even needing to assign the "ItemName" label in Process Flow if you do it directly in the source.
16 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