Tis |
Newbie |
|
Waalre |
|
|
None Specified |
|
Monday, April 25, 2016 |
Monday, April 25, 2016 10:02:23 AM |
1 [0.01% of all post / 0.00 posts per day] |
|
I use the onEntry function at many (composite) states and observed that these functions are all executed when an initial state has a connection to such a (composite) state. This item has already been discussed: https://www.altova.com/forum/default.aspx?g=posts&t=1203
So, to workaround this unwanted feature, I changed the onEntry function to a "do / function()" . However, also this do-function() is executed when the first trigger causes an Initialize(). In the generated code the do-function() is indeed called in a generated snippet: public override void entryState() { my-do-function }
So, this is fairly illogical : a "do" has nothing to do with initialization.
Is there a way to still use the do function as intended, or must we workaround around this bug in the same way as the mentioned onEntry discussion ?
|
|