This content has been marked as final.
Show 2 replies
-
1. Re: Re-Execute a Node's Action handler after an Exception
kukeltje Mar 31, 2008 11:31 AM (in response to dleerob)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? -
2. Re: Re-Execute a Node's Action handler after an Exception
dleerob Apr 2, 2008 6:17 AM (in response to dleerob)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.
Thanks.