posting within code tags also helps as does making a real unit test
token = processInstance.getRootToken();
I suggest that before you signal() that you find out from the token which Node it's sitting at...
Thank you very much Ronald and pojomonkey for the responses.
By means this instruction
I can see that process is in the correct node: it is 'init process'
Thanks once again
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.
I resolved the problem making the documentation control node a state node type.
Thank you very much once again.