question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Ankur A3 commented

How to create item on each tote?

Hi Team,

I am working on model where pallet contains totes and totes contains items. I am trying to create item in tote based on totes count but all items are getting created on same tote.

How can I create 1 item in each tote?

23.06.2022_CreateItemsOnEachTote.fsm

Thank you!

FlexSim 21.0.10
processflowitemssubnodes
· 1
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
May I suggest you choose the right Version for your attached file. FlexSim 21.0.9 tells me the file is 21.1.
0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Ankur A3 commented

token.Tote contains an array of references to your totes on a pallet.

If evaluate token.Tote you get by default always only the first element of the array.

You need to transfer a reference or an index of this array to your token in your subprocess.

a local variable is initiated in the source code editor for this purpose. It is called creationRank

label-step.jpg You need to evaluate this label (token.index) in your subprocess to get access for 1st, 2nd and 3rd Tote.

evaluate-step.jpg


label-step.jpg (35.0 KiB)
evaluate-step.jpg (24.7 KiB)
· 1
5 |100000

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

Ankur A3 avatar image Ankur A3 commented ·
Thank you so much! @Joerg Vogel
0 Likes 0 ·