<?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: Poller process in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211884#M165014</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;Did you add an asynchronous definition to the steps in your mail process as well? If that's async, then the invocation of starting this process instance should return quickly.&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, 15 Feb 2016 08:35:30 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2016-02-15T08:35:30Z</dc:date>
    <item>
      <title>Poller process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211879#M165009</link>
      <description>HiI have created an activiti process for the lifecycle of an email which passes many service tasks.Now I have another process that polls emails from a queue and starts the new activiti email process everytime a new email is polled.the poller process should never stop polling.I understand that an act</description>
      <pubDate>Wed, 10 Feb 2016 08:49:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211879#M165009</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-02-10T08:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Poller process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211880#M165010</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;an jUnit test example could help me to understand your issue better, but I would say that poller activity call (subprocess call) is synchronous. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Make this call asynchronous. In that case new job will be created and failure of one subprocess won't cause failure of the parent process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another issue is that parent process will wait on the subprocess return. What I would do is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Parent process instance should be started periodically (timer start event) (or you can implement it in java and schedule it with some scheduler)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. this parent process has to decide whether call subprocess or not.&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;BR /&gt;&lt;SPAN&gt;2. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 12:28:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211880#M165010</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-02-10T12:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Poller process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211881#M165011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have created an asynchronous start timer event that calls a new mailing process (every 3 seconds).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't want the timer to wait till the mailing process ends.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to have multiple mail processes(each has his own lifecycle) running (ca 50K processes) at once, each started by the timer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the asynchronous start timer is not doing this for me..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I make this work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 14:59:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211881#M165011</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-02-10T14:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Poller process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211882#M165012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"the asynchronous start timer is not doing this for me.."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What part is it not doing for you? Multiple process instances at once (don't see why not) … or starting every 3 seconds?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 09:50:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211882#M165012</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-02-11T09:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Poller process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211883#M165013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an activiti start timer that starts a servicetask every 5 seconds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my service task I call my email process with the code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt; runtimeService.startProcessInstanceByKey("mailProcess", variables); &amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have set my servicetask asynchronous.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is now that my mailProcess is not executed every 5 seconds (async).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Because the servicetask waits for my mailProcess to finish.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I solve this? thanks for any help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 11:39:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211883#M165013</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-02-11T11:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Poller process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211884#M165014</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;Did you add an asynchronous definition to the steps in your mail process as well? If that's async, then the invocation of starting this process instance should return quickly.&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, 15 Feb 2016 08:35:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211884#M165014</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2016-02-15T08:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Poller process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211885#M165015</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;Thanks for your answer, I didnt know the mailprocess had to be asynchronous as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I Made the full process async(every service task) &amp;amp; every servicetask has "exclusive no".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now my mailprocess is executed async and executed multiple times by a start timer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 13:24:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/poller-process/m-p/211885#M165015</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-02-15T13:24:16Z</dc:date>
    </item>
  </channel>
</rss>

