question

Gui Vaccaro avatar image
0 Likes"
Gui Vaccaro asked Gui Vaccaro commented

How to automatically load a milestone collector with a processflow?

Hello,

I noticed that even if milestone collectors are added to a flow, if the flow is in a library, the milestone collector (and the links) are lost when the flow is instantiated. Foe example, for an object process flow, if the object is dragged, the flow is dragged, but any milestone connections are empty in the flow. Is there a way to automate this so a pre-configured collector can be brought in automatically?

Thank you.

FlexSim 25.0.2
processs flowuser librarymilestone collector
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 Gui Vaccaro commented

You can add an Object node to the user library and place both the Process Flow and the collector as its subnodes. Then you write a dropscript that copies the collector to the model (possibly after checking if it already exists), adds the Process Flow and finally creates links between all milestone activities in the flow and the collector.

An example library is attached.

milestone_lib_test.fsl


· 11
5 |100000

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