This content has been marked as final.
Show 5 replies
-
1. Re: Can't leave node ... without leaving transition
kukeltje Mar 4, 2008 7:04 PM (in response to victorl)posting within code tags also helps as does making a real unit test
-
2. Re: Can't leave node ... without leaving transition
pojomonkey Mar 5, 2008 3:58 AM (in response to victorl)"victorl" wrote:
...
token = processInstance.getRootToken();
token.signal();
I suggest that before you signal() that you find out from the token which Node it's sitting at... -
3. Re: Can't leave node ... without leaving transition
victorl Mar 5, 2008 7:56 AM (in response to victorl)Thank you very much Ronald and pojomonkey for the responses.
By means this instruction
System.out.println(token.getNode().getName());
I can see that process is in the correct node: it is 'init process'
Thanks once again -
4. Re: Can't leave node ... without leaving transition
pojomonkey Mar 5, 2008 8:07 AM (in response to victorl)Just realised - the 'raw' Node type does NOT have a wait state and will hence try to leave() as soon as gets there.
And it doesn't have a leaving transition, so the error is correct. -
5. Re: Can't leave node ... without leaving transition
victorl Mar 5, 2008 9:59 AM (in response to victorl)Hi pojomonkey,
I resolved the problem making the documentation control node a state node type.
Thank you very much once again.
Best Regards,
Victor