<?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: Restart the workflow from the desired step in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241647#M194777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just set activityId in the execution to the desired one. (You have to know what you are doing - activiti can create several executions for one process instance)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Apr 2016 12:23:36 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2016-04-08T12:23:36Z</dc:date>
    <item>
      <title>Restart the workflow from the desired step</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241646#M194776</link>
      <description>Hello,Assume i have a workflowStart -&amp;gt; Task 1 -&amp;gt; Task 2 -&amp;gt; Task 3 -&amp;gt; EndWe should not change the Workflow Template.Now i am in the middle of execution of Task 2. User from GUI will choose restart from Task 1.When Task 2 completes and during the start of Task 3, i should check whether use</description>
      <pubDate>Fri, 08 Apr 2016 07:17:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241646#M194776</guid>
      <dc:creator>chandanmb1</dc:creator>
      <dc:date>2016-04-08T07:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Restart the workflow from the desired step</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241647#M194777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just set activityId in the execution to the desired one. (You have to know what you are doing - activiti can create several executions for one process instance)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 12:23:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241647#M194777</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-04-08T12:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Restart the workflow from the desired step</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241648#M194778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assume i am using User Task in all the cases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you just provide me the code snippet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. How to set ActivityID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. How will i know the Task 1 ActivitiID when i am in the Task 3 execution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public void notify(DelegateTask delegateTask) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 14:55:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241648#M194778</guid>
      <dc:creator>chandanmb1</dc:creator>
      <dc:date>2016-04-08T14:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Restart the workflow from the desired step</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241649#M194779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How to set ActivityID&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;org.activiti.engine.impl.persistence.entity.ExecutionEntity#setActivity&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How will i know the Task 1 ActivitiID when i am in the Task 3 execution?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Parse definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 06:44:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241649#M194779</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-04-11T06:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Restart the workflow from the desired step</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241650#M194780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In activiti community edition, Are you parsing the XML&amp;nbsp; to execute flows ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, please provide me the classname ? Also, if i can reuse the same for customization&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 08:57:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241650#M194780</guid>
      <dc:creator>chandanmb1</dc:creator>
      <dc:date>2016-04-11T08:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Restart the workflow from the desired step</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241651#M194781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Override&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; public void notify(DelegateTask delegateTask) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; DelegateExecution execution = delegateTask.getExecution();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; EngineServices engineServices = execution.getEngineServices();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; TaskService taskService = engineServices.getTaskService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; String userCommand=execution.getVariable("Command").toString();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; if(userCommand.equalsIgnoreCase("STOP")){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; System.out.println("User has issued the Stop command and I will not execute the further process:::::::"+userCommand);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; ExecutionEntity executionEntity=new ExecutionEntity(); // Is it the right way of using ExecutionEntity&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; executionEntity.setActivity(activity);&amp;nbsp;&amp;nbsp; // from where i will get the value of activity ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; taskService.complete(delegateTask.getId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 03:02:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241651#M194781</guid>
      <dc:creator>chandanmb1</dc:creator>
      <dc:date>2016-04-12T03:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Restart the workflow from the desired step</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241652#M194782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anyone Elaborate the solution for starting from the desired step&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2016 07:55:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241652#M194782</guid>
      <dc:creator>venkatesh</dc:creator>
      <dc:date>2016-07-15T07:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Restart the workflow from the desired step</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241653#M194783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do i have to parse the xml content?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2016 07:56:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241653#M194783</guid>
      <dc:creator>venkatesh</dc:creator>
      <dc:date>2016-07-15T07:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Restart the workflow from the desired step</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241654#M194784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Similar to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 09:38:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241654#M194784</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-07-18T09:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Restart the workflow from the desired step</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241655#M194785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi! I have a question, when I start process from User task i want that after start form will be closed status . But when i start I am wait all the Service tasks and when all of them ended then I get closed form in user task. How I fix it? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:nursultan.sadyk1995@gmail.com" rel="nofollow noopener noreferrer"&gt;nursultan.sadyk1995@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 04:57:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241655#M194785</guid>
      <dc:creator>nursultan0702</dc:creator>
      <dc:date>2016-09-07T04:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Restart the workflow from the desired step</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241656#M194786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, can you please make your question a bit clearer, it's really hard to understand it right now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 09:25:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-the-workflow-from-the-desired-step/m-p/241656#M194786</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2016-09-07T09:25:12Z</dc:date>
    </item>
  </channel>
</rss>

