question

hermione12 avatar image
0 Likes"
hermione12 asked hermione12 commented

Push and pull list error

Hello,

I am trying to push items from Queue1 to list and pulling the items from the same list and sending the items to Queue2 using a transporter through process flow.

But at the load task, I am receiving an error message and the model is stopped.

What am I doing wrong in the model? Please help.

model1.fsm

FlexSim 20.0.10
push and pull listtask error
model1.fsm (39.8 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered hermione12 commented

You are pushing the token from the event-triggered source to the list.

1657615358924.png

So on the puller token, 'token.item' points to the token, not the item.

Change the push value to be a reference to the item instead. Or change the load task to reference the item through the pulled token (token.item.item).


1657615358924.png (13.9 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.

hermione12 avatar image hermione12 commented ·
Thank you @Felix Möhlmann , it is working now
0 Likes 0 ·