This content has been marked as final.
Show 3 replies
-
1. Re: Stop ProcessInsztance from Action
henk Feb 9, 2006 9:50 AM (in response to kurilenko)why don't you add a transition to the end state ?
-
2. Re: Stop ProcessInsztance from Action
kurilenko Feb 9, 2006 9:56 AM (in response to kurilenko)As I understand it impossible add new transition whie I am execute Processinstance or I am wrong ?
I am know that necessary stop execution at runtime only.
So all this was created for preventing looping : what I do : I add to each transition EVENT (and action of course) and counting iteration for each transitions.
If for ex. for specified transition max iterations reached (now it is 50 iterations) - I must end execution. -
3. Re: Stop ProcessInsztance from Action
kurilenko Feb 9, 2006 10:03 AM (in response to kurilenko)WOW .
I do it and it worked !!!!excutionContext.getTransition().setTo(new EndState());