<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Could I restart a process instance from a previously completed task ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/could-i-restart-a-process-instance-from-a-previously-completed/m-p/242264#M195394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks ! But no : )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The following topic is more close to my question: &lt;/SPAN&gt;&lt;A href="https://forums.activiti.org/content/whats-best-way-design-process-which-allows-user-recall-back-his-task" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/whats-best-way-design-process-which-allows-user-recall-back-his-task&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I wrote the following code, given valid a executionId and a valid taskDefinitionKey:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;final ExecutionEntity processExecution = Context.getCommandContext().getExecutionEntityManager().findExecutionById(executionId);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;processExecution.setActivity(new ActivityImpl(taskDefinitionKey, processExecution.getProcessDefinition()));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But Context.getCommandContext() returns null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are the ways to get the ExecutionEntityManager ? From what object should I start to get it ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ygu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2016 13:06:27 GMT</pubDate>
    <dc:creator>ygu</dc:creator>
    <dc:date>2016-11-04T13:06:27Z</dc:date>
    <item>
      <title>Could I restart a process instance from a previously completed task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-i-restart-a-process-instance-from-a-previously-completed/m-p/242262#M195392</link>
      <description>Hi,Here is what I would like to do: given a process, I would like to be able to go back to a previously completed task, just as if I was canceling everything that has been done after it, and do it again, just as the first time.I know this may seem weird, but I do not want the process to include a de</description>
      <pubDate>Tue, 25 Oct 2016 14:31:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-i-restart-a-process-instance-from-a-previously-completed/m-p/242262#M195392</guid>
      <dc:creator>ygu</dc:creator>
      <dc:date>2016-10-25T14:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Could I restart a process instance from a previously completed task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-i-restart-a-process-instance-from-a-previously-completed/m-p/242263#M195393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if I understood the requirement correctly. Wondering if the new ad-hoc subprocess/task feature in Activiti 6 will address your requirements? &lt;/SPAN&gt;&lt;A href="http://bpmn20inaction.blogspot.com.au/2016/02/activiti-6-adds-ad-hoc-sub-process.html" rel="nofollow noopener noreferrer"&gt;http://bpmn20inaction.blogspot.com.au/2016/02/activiti-6-adds-ad-hoc-sub-process.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ciju&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 06:21:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-i-restart-a-process-instance-from-a-previously-completed/m-p/242263#M195393</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2016-10-26T06:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Could I restart a process instance from a previously completed task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-i-restart-a-process-instance-from-a-previously-completed/m-p/242264#M195394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks ! But no : )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The following topic is more close to my question: &lt;/SPAN&gt;&lt;A href="https://forums.activiti.org/content/whats-best-way-design-process-which-allows-user-recall-back-his-task" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/whats-best-way-design-process-which-allows-user-recall-back-his-task&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I wrote the following code, given valid a executionId and a valid taskDefinitionKey:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;final ExecutionEntity processExecution = Context.getCommandContext().getExecutionEntityManager().findExecutionById(executionId);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;processExecution.setActivity(new ActivityImpl(taskDefinitionKey, processExecution.getProcessDefinition()));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But Context.getCommandContext() returns null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are the ways to get the ExecutionEntityManager ? From what object should I start to get it ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ygu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 13:06:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-i-restart-a-process-instance-from-a-previously-completed/m-p/242264#M195394</guid>
      <dc:creator>ygu</dc:creator>
      <dc:date>2016-11-04T13:06:27Z</dc:date>
    </item>
  </channel>
</rss>

