question

Jason Merschat avatar image
0 Likes"
Jason Merschat asked Joerg Vogel edited

Pull From a List Qty >1, List Items now flow as one Token e.g. Batch

I cannot find any good explanation as to the details of Pull From List Quantities >1. It seems that when I pull from a List with Request Quantity >1, they flow as a batch. What is the preferred method to split them back out as individuals from the array?

FlexSim 18.0.2
pull from listrequest number
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
1 Like"
Joerg Vogel answered Joerg Vogel edited

A bit shorter than assigning a member of an array is the method "shift" in the "Create Tokens" activity.

If you want to keep the order of the pulled items, switch the option "Insert at Front of" in the Pull from List activity on.


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
3 Likes"
Joerg Vogel answered Jason Merschat commented

I would use a "create Tokens" activity in combination with the variable "creationRank" to assign the reference to the created token label. You find usefull variables, if you look into the source code editor of the activity parameter fields.

divide-pulled-array-result-in-single-token.fsm

· 2
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 ·

@Ralf Gruber ,thank you for this hint at the User Meeting.

0 Likes 0 ·
Jason Merschat avatar image Jason Merschat commented ·

Thank you! I was using a Batch to separate, but then switched to the Create Token method. I will now add the detail with the variable as you describe.

0 Likes 0 ·