The point is that there is no reason to restart the process. It will be restarted (from the ht node) when the client UI completes the task. Try just reloading your ksession and completing the task from the UI.<div><br></div>

<div>Best Regards,<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">On Wed, Apr 6, 2011 at 12:02 PM, gs76pl <span dir="ltr">&lt;<a href="mailto:gstasica@pacemetrics.com">gstasica@pacemetrics.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

hi,<br>
thanks for your prompt reply,<br>
<br>
OK, i&#39;ve a custom screen that checks for a task assigned to a specific user.<br>
What i&#39;m trying to do now is checking how to restart a process when for<br>
instance the server crashes. In order to simulate this i&#39;m killing my<br>
process once a human task has been created. After that i&#39;m trying to start<br>
the process once again and what i expect is that:<br>
- all steps prior to the human task will be skipped<br>
- my process will be waiting for a human task to be completed before<br>
continuing<br>
<br>
As you probably correctly pointed out i should be restarting a process<br>
rather than starting a new one and trying to use previously stored<br>
sessionId. The only problem i see here that i can&#39;t find any API that would<br>
allow me to do someting like this:<br>
<br>
processService.restartProcess(processId, sesionId)<br>
<font color="#888888"><br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/drools-flow-why-after-reloading-some-process-previously-completed-workItems-gets-executed-once-again-tp2784850p2785361.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/drools-flow-why-after-reloading-some-process-previously-completed-workItems-gets-executed-once-again-tp2784850p2785361.html</a><br>


</font><div><div></div><div class="h5">Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br></div>