<?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: Newbie. Separate thread for Activiti Explorer UI and the workflow process instance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/newbie-separate-thread-for-activiti-explorer-ui-and-the-workflow/m-p/178484#M131614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah! Got it. I cannot have async=true on my service tasks because they have to be sequential. I was hoping that by enabling jobExecutor, UI thread would automatically move on after firing start event. But from your response (correct me if I am wrong), it seems that the workflow process instance thread needs to return before UI thread can be freed. So, as a workaround, I introduced an intermediate timer event just after start event of my workflow, which freed UI thread immediately.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I didn't find any other configuration, say, make the whole workflow or just the start event asynchronous, which would allow me to get rid of this workaround timer catch event. Am I right here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for pointing me in right direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sankalp&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2015 19:56:51 GMT</pubDate>
    <dc:creator>sankalpn</dc:creator>
    <dc:date>2015-03-10T19:56:51Z</dc:date>
    <item>
      <title>Newbie. Separate thread for Activiti Explorer UI and the workflow process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-separate-thread-for-activiti-explorer-ui-and-the-workflow/m-p/178482#M131612</link>
      <description>I am trying to write some workflows which, after taking user input in start event form, invoke a series of web service APIs inside service tasks (meaning service tasks take longer to finish) and produce output via email tasks.I am using activiti-explorer UI for user inputs and to deploy the workflow</description>
      <pubDate>Mon, 09 Mar 2015 18:20:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-separate-thread-for-activiti-explorer-ui-and-the-workflow/m-p/178482#M131612</guid>
      <dc:creator>sankalpn</dc:creator>
      <dc:date>2015-03-09T18:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie. Separate thread for Activiti Explorer UI and the workflow process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-separate-thread-for-activiti-explorer-ui-and-the-workflow/m-p/178483#M131613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, using async=true on the service task returns the thread and your ui thread should be free.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So something else is going on. Could you post the relevant process xml?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 12:44:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-separate-thread-for-activiti-explorer-ui-and-the-workflow/m-p/178483#M131613</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-10T12:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie. Separate thread for Activiti Explorer UI and the workflow process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-separate-thread-for-activiti-explorer-ui-and-the-workflow/m-p/178484#M131614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah! Got it. I cannot have async=true on my service tasks because they have to be sequential. I was hoping that by enabling jobExecutor, UI thread would automatically move on after firing start event. But from your response (correct me if I am wrong), it seems that the workflow process instance thread needs to return before UI thread can be freed. So, as a workaround, I introduced an intermediate timer event just after start event of my workflow, which freed UI thread immediately.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I didn't find any other configuration, say, make the whole workflow or just the start event asynchronous, which would allow me to get rid of this workaround timer catch event. Am I right here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for pointing me in right direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sankalp&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 19:56:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-separate-thread-for-activiti-explorer-ui-and-the-workflow/m-p/178484#M131614</guid>
      <dc:creator>sankalpn</dc:creator>
      <dc:date>2015-03-10T19:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie. Separate thread for Activiti Explorer UI and the workflow process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-separate-thread-for-activiti-explorer-ui-and-the-workflow/m-p/178485#M131615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you set async = true to your first service task, everything is still executed in sequence, so no parallel behaviour. And you don't have to introduce the intermediate timer event in that case.&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, 11 Mar 2015 19:47:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-separate-thread-for-activiti-explorer-ui-and-the-workflow/m-p/178485#M131615</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-03-11T19:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie. Separate thread for Activiti Explorer UI and the workflow process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-separate-thread-for-activiti-explorer-ui-and-the-workflow/m-p/178486#M131616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Tijs. That works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 20:03:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-separate-thread-for-activiti-explorer-ui-and-the-workflow/m-p/178486#M131616</guid>
      <dc:creator>sankalpn</dc:creator>
      <dc:date>2015-03-11T20:03:34Z</dc:date>
    </item>
  </channel>
</rss>

