<?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 Start process is a blocking call? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/start-process-is-a-blocking-call/m-p/139940#M98046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm playing with the rest api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm trying to start the process calling &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://localhost:8080/activiti-rest/service/process-instance" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-rest/service/process-instance&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My process is a task that i extended that should do the polling, so keeps going on and on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i noticed that the rest call for starting the process basically blocks because the first task is on going, so the start action does not return anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is this normal? does not sound strange? what should i do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Jun 2013 08:28:59 GMT</pubDate>
    <dc:creator>esseti</dc:creator>
    <dc:date>2013-06-08T08:28:59Z</dc:date>
    <item>
      <title>Start process is a blocking call?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-is-a-blocking-call/m-p/139940#M98046</link>
      <description>Hi all.i'm playing with the rest api.i'm trying to start the process calling http://localhost:8080/activiti-rest/service/process-instance‍.My process is a task that i extended that should do the polling, so keeps going on and on.i noticed that the rest call for starting the process basically blocks</description>
      <pubDate>Sat, 08 Jun 2013 08:28:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-is-a-blocking-call/m-p/139940#M98046</guid>
      <dc:creator>esseti</dc:creator>
      <dc:date>2013-06-08T08:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Start process is a blocking call?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-is-a-blocking-call/m-p/139941#M98047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, is solved it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for those who are interested do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- set your task as asyncronous or via ui, or place this &lt;/SPAN&gt;&lt;CODE&gt;activiti:async="true"&lt;/CODE&gt;&lt;SPAN&gt; in the task definiton.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- enable the jobprocessing for the rest apis, it is disbled by default (while in the explorer it's enabled). so go to &lt;/SPAN&gt;&lt;CODE&gt; /activiti-rest/WEB-INF/classes/activiti-context.xml&lt;/CODE&gt;&lt;SPAN&gt; set this as true &lt;/SPAN&gt;&lt;CODE&gt;&amp;lt;property name="jobExecutorActivate" value="true" /&amp;gt; &lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jun 2013 13:35:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-is-a-blocking-call/m-p/139941#M98047</guid>
      <dc:creator>esseti</dc:creator>
      <dc:date>2013-06-08T13:35:57Z</dc:date>
    </item>
  </channel>
</rss>

