Is it possible to add child tokens in subflows onto the parent token trace history?

Is it possible to add child tokens in subflows onto the parent token trace history?

axel_kohonen
Not applicable
29 Views
2 Replies
Message 1 of 3

Is it possible to add child tokens in subflows onto the parent token trace history?

axel_kohonen
Not applicable

[ FlexSim 16.2.1 ]

Hi,

I have a process flow model where I want to trace how the tokens move in the process flow. For the main flow I just enable tracing and it works nicely. However, I would like to get the full path of the parent token including the paths that the child tokens have taken. Then I could get a nice full report of where the tokens have been and this would be helpful in debugging the process flow.

Is this possible in FlexSim somehow? Alternatively I could maybe add the trace history of the child to the parent token manually at each sub flow finish activity.

Thank you!

Kind regards,

Axel

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

matt_long
Not applicable
Accepted solution

Unfortunately there is no way to have the child's trace history be written to the parent, however, the trace history is written to a label on the token called 'traceHistory'. So yes, you could transfer that information from the children to the parent.

Message 3 of 3

axel_kohonen
Not applicable

Hi @Matt Long

Thank you for the information! Will try this approach then.

Axel

0 Likes