Label is not working (see attached pic). I want the operator to drop it in two different queues? I have a label on the excel sheet that calls out a number 1 (Queue 1)or 2(queue 2 ) 1.jpg
Your Assign Labels activity should look like this:
EDIT: Updated the picture
I did what you suggested but I'm getting errors:
Flexscript Error MODEL:/Tools/ProcessFlow/ProcessFlow/Update destination~3>labels/1/2 Line 12 Undefined variable TestCordQueue being used.
Flexscript Error MODEL:/Tools/ProcessFlow/ProcessFlow/Update destination~3>labels/1/2 Could not resolve correct operator for construct operation. Left side type is Variant&, right type is (invalid)
Flexscript Error MODEL:/Tools/ProcessFlow/ProcessFlow/Update destination~3>labels/1/2 Line 14 Undefined variable TestSenQueue being used.
Flexscript Error MODEL:/Tools/ProcessFlow/ProcessFlow/Update destination~3>labels/1/2 Could not resolve correct operator for construct operation. Left side type is Variant&, right type is (invalid)
Flexscript Error MODEL:/Tools/ProcessFlow/ProcessFlow/Update destination~3>labels/1/2
I also tried
True: model().find("TestCordQueue").subnodes.length
False: model().find("TestSenQueue").subnodes.length
I get less errors
time: 11.777597 exception: Error: Invalid assign to reference at assign labels activity "Update destination" in "ProcessFlow"
time: 12.687597 exception: Error: Invalid assign to reference at assign labels activity "Update destination" in "ProcessFlow"
What Im I missing?
I also tried
@alejandra.n2 Just use the eye dropper to sample the TestCordQueue object.
I did but not working. Got error:
time: 11.777597 exception: Error: Invalid assign to reference at assign labels activity "Update destination" in "ProcessFlow"
time: 12.687597 exception: Error: Invalid assign to reference at assign labels activity "Update destination" in "ProcessFlow"
@Jacob Gillespie Sorry for going back and forth. I tried what you told me and its only going to one queue. Its acting like it doesn't need a validation label. I wonder if the label created in excel is wrong. am I calling out the label wrong?? see attached pictures
1.jpg2.jpg3-excel-decision.jpg
@alejandra.n2 Change the Condition field back to token.labels["Test Queue"].value
same outcome going to the same queue.
8 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