question

Wang Z2 avatar image
0 Likes"
Wang Z2 asked David Besson answered

Query/Array in pull from list (process flow)

Hi !

In my model,I have two queues in different tier, They are all push to Itemlist1.

Each AGV has a label "AGVTier",The AGV1 ’s value of "AGVTier" is 1

I want pull the special row from the list.I want the agv to complete the task which is the same tier as agv。

I use "WHERE Tier == current.AGVTier" to accomplesh it but i failed.

ques-processflow.fsm

FlexSim 18.2.2
processflowpull from list
5 |100000

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

David Besson avatar image
0 Likes"
David Besson answered

In the "Query/Object/Array" field, you can reference only value and puller.
So you cannot reference current.

1) to have the activity pull working properly:
- change the "puller" field from token to current
- change in the "Query/Object/Array" field the variable current to puller

2) to have the activites "Load" and "Unload" woking properly with the field "Item" referencing token.item:
- change the "assign to" field from token.pulled to token.item
(- or change the field "Item" in the activities "Load" and "Unload" from token.item to token.pulled)

Then the model should work as you want.

16497-ques-processflow-modified.fsm


5 |100000

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

Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered
@Wang Z2

Your query should always be puller. So in your case put current where you can define the puller and use puller in the query, like this:

Then the firs part works but there is another bug in your travel task but maybe you can find that out by yourself.


agvtier.png (13.2 KiB)
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.