in what node is the token after the error? the 'store document' node or a previous one?
Can you create a unit test with embedded actionhandler (innerclass) and an example processdefinition also embedded as a string?
Thanks for the response.
It would still be in the 'Store Document' node.
Not to worry, I managed to find a solution:
I simply get the Token, and execute the following code:
Node node = token.getNode(); ExecutionContext executionContext = new ExecutionContext(token); node.execute(executionContext);
The action is then executed again.
Any feedback is welcome. Hopefully this is the correct way of doing it.