question

Luciano Cavallero avatar image
0 Likes"
Luciano Cavallero asked Luciano Cavallero answered

Destroy dead tokens

Hi,

when 'dead tokens' (stats/instances/ProcessFlow/deadTokens) are destroyed by FlexSim?

I can safety destroy one 'dead token' with traditional .destroy() method of TreeNode class?

Thanks,

Luciano.

FlexSim 21.0.9
processflowtoken
5 |100000

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

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

They are destroyed on Reset. If you don't want them at all, then make sure all your Process Flow Sink objects don't preserve any data about tokens. My guess is that it's safe to destroy them at any time; if they are in the Dead Tokens folder, then they have arrived at a Sink. But of course, the ones you destroy won't be available to view in the "View Tokens" window.

5 |100000

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

Luciano Cavallero avatar image
0 Likes"
Luciano Cavallero answered

Hi Jordan,

The tokens that I wan destroy are contained into the "Dead Token" after they are arrived to a sink that has been configured (for my purpose) to "keep labels"

Thanks for your reply.

BR

Luciano.

5 |100000

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