question

Dewriffic16 avatar image
0 Likes"
Dewriffic16 asked Dewriffic16 commented

Move all items in a batch in processflow

In the attached model I'm trying to get the operator to move not just a single item but all items in a list from the 'PlaceinFolio' queue to the 'PlaceInBriefcase' Queue. I've tried various ways but it seems like I only ever can get it to move a single box at a time. I can't hard code the number of items since I'm batching a couple of times and grouping by type with a random reject rate. Any an all help is much appreciated. KeepTrackofNumofItemsExample.fsm

A few other examples I've followed store the items to a list when they enter a queue which keeps good track of all the items I want moved, but I can't seem to figure out how to move all the items from that list in the second part of my processflow.

FlexSim 22.0.16
process flowbatch
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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Dewriffic16 commented

When batching the tokens you have to preserve the reference to all the items. You can do this by combining the "item" labels into an array (and then combine those into an array of arrays). Then use a subflow to create tasks for every item.

keeptrackofnumofitemsexample_1.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.

Julie Weller avatar image Julie Weller commented ·

You can also look at this tutorial which might help you as it covers how to use sub flows to pick up and drop off more than 1 item:

https://docs.flexsim.com/en/23.1/Tutorials/ProcessFlow/Tutorial3SubProcessFlows/SubProcessFlowsOverview/SubProcessFlowsOverview.html

0 Likes 0 ·
Dewriffic16 avatar image Dewriffic16 Julie Weller commented ·
Thank you both for the quick answers, I appreciate the help! This seems to be working as intended.
0 Likes 0 ·

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.