<?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 Extending service task and add  async in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/extending-service-task-and-add-async/m-p/139871#M98005</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've to implement my task using the delegation (&lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#eclipseDesignerExtending" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#eclipseDesignerExtending&lt;/A&gt;&lt;SPAN&gt;). so far so good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, inside the task logic, i've to perform a poll of data that periodically queries an external server and, when the poll returns true it finishes the task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i saw in the documentation that activiti has&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;activiti:async&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; that does pretty much what i want to do. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, can i reuse this for my purposes or do I have to manage the threads by myself inside the delegation function?&amp;nbsp; (writing the logic of polling using a thread)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: how long can i keep polling the external server inside the task execution? beacuse i might have results in days or weeks, so i've to keep polling periodically till i've data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Jun 2013 07:44:15 GMT</pubDate>
    <dc:creator>esseti</dc:creator>
    <dc:date>2013-06-08T07:44:15Z</dc:date>
    <item>
      <title>Extending service task and add  async</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-service-task-and-add-async/m-p/139871#M98005</link>
      <description>Hi all.i've to implement my task using the delegation (http://www.activiti.org/userguide/#eclipseDesignerExtending). so far so good.Now, inside the task logic, i've to perform a poll of data that periodically queries an external server and, when the poll returns true it finishes the task.i saw in th</description>
      <pubDate>Sat, 08 Jun 2013 07:44:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-service-task-and-add-async/m-p/139871#M98005</guid>
      <dc:creator>esseti</dc:creator>
      <dc:date>2013-06-08T07:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extending service task and add  async</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-service-task-and-add-async/m-p/139872#M98006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good point, custom service tasks should also support async configuration. Or setting a default async value. Could you add a JIRA?&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>Mon, 10 Jun 2013 14:07:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-service-task-and-add-async/m-p/139872#M98006</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-06-10T14:07:11Z</dc:date>
    </item>
  </channel>
</rss>

