question

sara S2 avatar image
0 Likes"
sara S2 asked sara S2 commented

How to fix this error: "Label does not exist..."?

Hello,

I am trying to model the process of transporting items (boxes) from the rack to the port 'Queue3'. But when I run the model, I get an error message:

"FlexScript exception: Label property Type retrieved on /Rack1/Tote. Label does not exist. at MODEL:/Tools/GlobalLists/ItemList1>variables/fields/ItemType/expression".

I really don't know how to fix this, help me please !

model1.fsm

FlexSim 19.0.0
itemlist and processflow
model1.fsm (69.2 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered sara S2 commented

You get the exception, because you push the tote to the list in the Send To Port function of the Rack1. The tote has not the label Type nor any other label.

If you want to push the content of the tote onto the list, you can adjust the reference to push:

  1. item.subnodes.toArray()

in the source code editor of the function.


· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.