question

Abel van der Windt avatar image
0 Likes"
Abel van der Windt asked Jordan Johnson edited

Double ProcessFlow when installing chart templates

Hi all,

I noticed that when I install my chart templates as a statistics collector the node for the chart template still exists in the tree with the attached ProcessFlow. Does this mean that everything is triggered twice and should this be the case?

Regards,

Abel

FlexSim 18.2.3
statistics collectorchart templates
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

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Jordan Johnson edited

When you say there is a node for the chart template still in the tree, do you mean that there is still something inside the MODEL:/Tools/ChartTemplates node? That part should no longer exist if you install a template.

A Chart Template is just a wrapper around many objects, which possibly includes Groups, a Process Flow, a Statistics Collector, or a Calculated Table. When you install the template, the chart should continue to function, but all of those tools are now in the toolbox, where you can examine and/or edit them. So when you install a template, it may put a Process Flow in your toolbox. That flow was always there, but was hidden inside the template. Once you install, there is still only one flow working.

· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Abel van der Windt avatar image Abel van der Windt commented ·

Thanks for the answer.

Yes, there was still something inside that node. I cloned a table based on that chart template node. Then I installed the chart template but forgot to change the path to the statistics collector node. After executing the code the cloned table still contained all the information.

I was trying to reproduce it in an example model, but in the example model there is indeed nothing inside the chart templates node anymore if I install the template.

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Abel van der Windt commented ·

When you say you cloned the table, do you mean that you created a copy? There is a bug with copying templates, so it doesn't work correctly. If you first copied a template and then installed the copy, that would probably cause the issue you are seeing.

0 Likes 0 ·
Abel van der Windt avatar image Abel van der Windt Jordan Johnson ♦♦ commented ·

I meant with cloning a table that I cloned the statistics collector table that was created by the install template to a global table. See code below:

Table dataganttchart = Table("DataGanttChart");
Model.find("Tools/StatisticsCollectors/Gantt Chart Collector>stats/data").as(Table).cloneTo(dataganttchart);
0 Likes 0 ·
Show more comments

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.