Hello,
I created a list with all the items, which entered the model. At a special Point I want to pull items with a specific label value to another list.
How can I achieve this?
Hello,
I created a list with all the items, which entered the model. At a special Point I want to pull items with a specific label value to another list.
How can I achieve this?
In pull-from-list-push-to-another-list.fsm you find labels with name "place" and "ID" at the items entering the queue. OnEntry they are pushed to the List "ItemList1" using the ID as a partition number. A ProcessFlow creates in an inter arrival time of 55 a new token, which pulls from the ItemList1 all values where the place value is 3 and the partition matches randomly from the pulling token ID label.
The result is assigned to the label named pulled at the token. This label is used to be pushed to the ItemList2 at the next activity. This activity doesn't contain any partition. You find only items with the value 3 of the label "place"
Alternatively you find in the other model a process flow with an create token activity to split the result array into individual tokens.pull-from-list-to-created-tokens-push-to-another-l.fsm
Thank you very much for your reply.
I built a testmodel testmodel.fsm based on your attached example. It seems to be a problem with the pushed value in the "Push to list" activity. I assigned the pulled values to the label "pulled" on the token and want to push the Information to the list with the pushed value "token.pulled".
Unfortunately I get an error "invalid pushed value".
It has nothing to do with the push activity, because the label pulled at the token doesn't contain any data which you can push. It is a problem with your pull activity. The list "boxen im System" consists of partitions. In the pull activity you don't take this into account. If you set the partition value to the Type you want to pull, the problem is solved. And then you don't need the query clause any more, you can delete the line, because the Type is your number of the partition in your list.
@Leona E when you create items, push them to a list and use the label value as the partition ID. Then wherever you pull the items, set the partition ID as the value for the specific items you want. pushpull3dprocessflow.fsm
I created a model as an example. In the queue properties:
- Triggers - OnEntry - create a label "Type"
- Flow - Output - Push to List - Set the partition ID as "item.Type"
Then to pull all items with Type = 3, in the process flow I set the partition ID to 3 in the Pull from List box
6 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved