Multi-load with Assigning type

Multi-load with Assigning type

yuchia112453
Not applicable
16 Views
2 Replies
Message 1 of 3

Multi-load with Assigning type

yuchia112453
Not applicable

[ FlexSim 21.0.10 ]

Hello,

I encountered some problem when conducting multi-load with the assigning type. I register my data in "GlobalTable1". This is the step I used:

1. Convert the input data in global list to an array with FlexScript. (from "type_transform" to "type" )

2. Register the number of goods that needs to be load in "load_count"

3. Use subflow to try to load the right type of data

But I am not sure how to get the position of array in global table correctly to achieve multi-load with the assigning type of data. Thank you for any of your kind suggestions and help!


Model:0427-multi-load.fsm

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

moehlmann_fe
Observer
Observer
Accepted solution

The settings of the "Run Sub Flow" activity should look something like this.

capture1.png

- Create as many tokens as there are entries in the "type" array

- Assign each child token one of the type values

0 Likes
Message 3 of 3

Jeanette_Fullmer
Community Manager
Community Manager

Hi @chia725, 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