Assigning value from State Tables

petrrais
Not applicable
2 Views
2 Replies
Message 1 of 3

Assigning value from State Tables

petrrais
Not applicable

[ FlexSim 23.0.8 ]

I try to create a simple transport simulation. The forklift should transport pallets from queue on "dock site" to a queue on "rack site" (these queues are part of the group "Warehouse_entry"). The queue on "dock site" is filled with pallets from source. Arrival times of pallets are defined in State Table called "schedule". The state table represents import of Excel sheet. In the same table is column "Adresa" which defines on which queue should be the pallet transported.

The issue is... I can't succesfuly assign the value from the column "Adress" to a token and complete transport.


The simmulation throws error:
exception: FlexScript exception: Property "value" accessed on invalid node. at MODEL:/Tools/GlobalTables/GlobalTable1>variables/resettrigger



fexsim_task_error.jpg

simple_transport_petrrais.fsm

0 Likes
Accepted solutions (1)
3 Views
2 Replies
Replies (2)
Message 2 of 3

moehlmann_fe
New Member
New Member
Accepted solution

Source1 already assigns the name of the destination queue to a label on the pallet. (Is there a reason that Source2 doesn't?). You can use this to get a reference to the queue on the token.

1697700413400.png

0 Likes
Message 3 of 3

jason_lightfootVL7B4
Autodesk
Autodesk

Hi @petrrais, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes