<?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: Process suspension and reactivation in activiti 5.9 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114852#M80939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So you mean that async jobs still are being executed, even if the instance/process definition is suspended?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That does sound like a bug. Please create a jira for it if that's the case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2012 06:56:41 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2012-10-04T06:56:41Z</dc:date>
    <item>
      <title>Process suspension and reactivation in activiti 5.9</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114844#M80931</link>
      <description>Hi,Activiti 5.9 now supports suspending and resuming process definition and instances.&amp;nbsp; (Ref: http://www.bpm-guide.de/2012/03/01/activiti-5-9-introduces-more-bpmn-2-0-support/)&amp;nbsp; I wanted to test this functionality, so I constructed following workflow.&amp;nbsp; start –&amp;gt; service_task_1 –&amp;gt; service_task_2</description>
      <pubDate>Thu, 19 Apr 2012 17:59:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114844#M80931</guid>
      <dc:creator>tushard</dc:creator>
      <dc:date>2012-04-19T17:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Process suspension and reactivation in activiti 5.9</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114845#M80932</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;This sounds like a timing issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When you start a new process instance, the async jobs are created immediately and also picked up shortly after that by the job executor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So when you invoke the suspend action, the jobs are already started and keep running.&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>Fri, 20 Apr 2012 10:05:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114845#M80932</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-04-20T10:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Process suspension and reactivation in activiti 5.9</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114846#M80933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yep, would be my idea to… But this is only true for async services and not&amp;nbsp; 'timed jobs' like reminders etc… They are suspended afaik.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 11:11:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114846#M80933</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-04-20T11:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Process suspension and reactivation in activiti 5.9</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114847#M80934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Tijs and Ronald.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a related question.&amp;nbsp; What happens when an async job is created?&amp;nbsp; Tijs, you said that the async jobs are created immediately and also picked up shortly after that by the job executor.&amp;nbsp; Does this mean that upon starting a process having two service tasks marked async = true, the jobExecutor would create two threads, one for each service task?&amp;nbsp; If true, then is it possible to suspend the execution of the second service task, either using RepositoryService.suspendProcessDefinitionByKey or by any other method?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tushar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 19:26:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114847#M80934</guid>
      <dc:creator>tushard</dc:creator>
      <dc:date>2012-04-23T19:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Process suspension and reactivation in activiti 5.9</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114848#M80935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tushar,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you have two service tasks marked with async = true, the Activiti Engine will create two jobs in the database to execute them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When you have just one job executor, this job executor thread will pick up the outstanding jobs and execute them one by one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So it's a matter of timing if you can suspend the process definition before the second service task is executed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But maybe you can tell a bit more about the background of your questions. Why do you need suspension?&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>Tue, 24 Apr 2012 09:40:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114848#M80935</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-04-24T09:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Process suspension and reactivation in activiti 5.9</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114849#M80936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our processes mainly consists of java service tasks.&amp;nbsp; One of our requirement states that a user should be able to suspend a running process and resume it later.&amp;nbsp; The suspend operation would not affect the currently executing service task, but execution of any subsequent service tasks would be suspended.&amp;nbsp; So, we thought that we can use process suspension and reactivation feature of activiti 5.9.&amp;nbsp; Would you please give us some suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tushar Deshpande&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 16:45:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114849#M80936</guid>
      <dc:creator>tushard</dc:creator>
      <dc:date>2012-04-24T16:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Process suspension and reactivation in activiti 5.9</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114850#M80937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Then don't&amp;nbsp; make then asyc… Or do I miss something?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 19:57:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114850#M80937</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-04-24T19:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Process suspension and reactivation in activiti 5.9</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114851#M80938</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;We have similar requirements as Tushar's. One of the reasons we made our service tasks async=true is to persist run time state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems runtimeService.suspendProcessInstanceById did put the process instance in suspended state, but the process execution keeps going. We are using Activiti 5.10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions on how to suspend/pause then resume a process instance with async service tasks? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;yl&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 17:36:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114851#M80938</guid>
      <dc:creator>yldev</dc:creator>
      <dc:date>2012-10-03T17:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Process suspension and reactivation in activiti 5.9</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114852#M80939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So you mean that async jobs still are being executed, even if the instance/process definition is suspended?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That does sound like a bug. Please create a jira for it if that's the case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 06:56:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114852#M80939</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-10-04T06:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Process suspension and reactivation in activiti 5.9</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114853#M80940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;jbarrez,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create a JIRA:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-1401" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-1401&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 23:40:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-suspension-and-reactivation-in-activiti-5-9/m-p/114853#M80940</guid>
      <dc:creator>ptripathi</dc:creator>
      <dc:date>2012-10-09T23:40:32Z</dc:date>
    </item>
  </channel>
</rss>

