Exception handing msg on label that does not exist

Exception handing msg on label that does not exist

patrick_zweekhorst
Advocate Advocate
8 Views
1 Reply
Message 1 of 2

Exception handing msg on label that does not exist

patrick_zweekhorst
Advocate
Advocate

[ FlexSim 19.0.3 ]

Hi,

When I use token.OtherToken in processFlow and the label OtherToken does not exists I get a clear exception msg that this label does not exists.

When I use token.OtherToken.LabelName and the label LabelName does not exist on the otherToken I don't get a clear exception msg. I thought that also this case would need to give the exception msg, but somehow it doesn't. Can this be fixed or explained why it doesn't work this way? Otherwise exceptions as in the simple attached demo model can become really hard to find.

Thanks

Patrick

example.fsm

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

zac_higleyQBKLZ
Autodesk
Autodesk
Accepted solution

I will pass this on to the Dev team so that they can take a look at this problem. Thanks