Destroy object object field executed twice

Destroy object object field executed twice

patrick_zweekhorst
Advocate Advocate
7 Views
1 Reply
Message 1 of 2

Destroy object object field executed twice

patrick_zweekhorst
Advocate
Advocate

[ FlexSim 24.0.2 ]

Hi,

When you destroy an object in PF with the destroy object activity the object field is executed twice.
In the attached model you can see this. There is a break point that fires twice, and the print also fires twice. Unchecking the asynchronous box does not change the outcome.

Having this would maybe in most models not lead to any problems. But it can give problems if you are using a distribution in the object field, or something like token.arraylabel.shift().

DestroyObject.fsm


Thanks,

Patrick

Accepted solutions (1)
8 Views
1 Reply
Reply (1)
Message 2 of 2

kavika_faleumu
Autodesk
Autodesk
Accepted solution

Hey @Patrick Zweekhorst, this seems like a bug. I've reported it to the dev team. Thank you for pointing this out to us!

0 Likes