question

chukiat avatar image
0 Likes"
chukiat asked chukiat commented

Can't do Pull and Push item to same list

Hello

I pull item from list and update its label value

Then, I try to push it into the same list

Result seem item has been pushed to list but token not flow to next step and occur error code

Please teach me what is my mistake

Packaging - Copy.fsm


1690275520084.png

FlexSim 23.1.1
push to list
1690275520084.png (47.8 KiB)
packaging-copy.fsm (13.4 MiB)
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 chukiat commented

The error stems from the expression you entered into the query field in the Pull from List activity.

There are three valid things you can use in this field:

- A pointer to a single object that you want to pull from the list.

- An array of values that can be pulled.

- A valid SQL query that filters/orders the values on the list before something is pulled.

The string label containing "A" or "B" is neither of those things (passing a valid query into the field through a label would work though). If your goal is to pull the item with the corresponding ItemNo label, then you have to use a query. Note that "puller" will become a reference to the pulling token when the query is evaluated, as defined in the Puller field.

1690277247861.png


By default, a token will wait in the Push to List activity until the pushed value is pulled from the list again. This allows lists to be used to synchronize tokens/objects/etc. across different Process Flows and the 3d model. To release the token immediately, set a maximum wait time and check the option to the leave the value on the list if the token is released prematurely.

1690277500860.png


1690277247861.png (6.9 KiB)
1690277500860.png (9.4 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.

chukiat avatar image chukiat commented ·
Hi Felix

Thank you very much

I can fix my process flow now

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.