question

William Proctor avatar image
0 Likes"
William Proctor asked William Proctor commented

Populate Schedule Source Using Global Table

Right now I am generating a schedule in the model into a global table that I want to add to a Schedule Source (ProcessFlow). To make this work, I am exporting the schedule table to Excel and then reimporting it to FlexSim to get it into the Schedule Source. Is there a more direct way to do this?

FlexSim 21.2.4
global tablesource schedule
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

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered William Proctor commented

Reference the table and write to it directly - for example:

treenode vars=variables(getactivity("ProcessFlow","Source"));
Table schedule=vars.subnodes["arrivals"];

or if you need to copy from the global table add this line:

Table("GlobalTable").cloneTo(schedule);
· 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.

William Proctor avatar image William Proctor commented ·
Worked Great! Thanks!
0 Likes 0 ·