question

King-Ki F avatar image
0 Likes"
King-Ki F asked King-Ki F answered

Subnodes Question

Hello,

I'm trying to reference a specific box flowitem stored inside a tote flowitem, where the tote flowitem sits in PickingStation. The PickingStation will only have 1 tote at a time, but the box flowitems can vary between 1 to 4.

I'm able to get the tote flowitem by using

model.find("PickingStation").as(Object).first

and assigning to a label called ToteFlowItem. I then use

token.ToteFlowItem.as(Object).subnodes.length

to get the number of box flowitems in a label called ItemsInTote. However, when I try to use

token.ItemsInTote[creationRank]

I'm getting a null value. How would I get the actual box flowitem? Im attempting to do this in the Tote Delivery Process within the model attached below

ClusterPickingTestv4.fsm

FlexSim 20.0.3
process flowflexsim 20.0.3subnodes
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

·
King-Ki F avatar image
0 Likes"
King-Ki F answered

I think I figured it out. If I use the following code

token.ToteFlowItem.last

I could reference the item.

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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