<?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: Activiti engin thread model question in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-engin-thread-model-question/m-p/222758#M175888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe user guide explains it clearly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To continue process from receive task or signal catching event, you should send signal from external java code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Process should be persisted in database in order to receive signal and for common case it should not actively do something at that time. That is, if your process did not reach receive task and you send signal, nothing good will happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your code should query activiti engine for processes waiting in proper state and send signal that time. For short processes it can just wait and repeat. For long processes you have to make more sophisticated work-around.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Aug 2016 10:23:00 GMT</pubDate>
    <dc:creator>warper</dc:creator>
    <dc:date>2016-08-19T10:23:00Z</dc:date>
    <item>
      <title>Activiti engin thread model question</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-engin-thread-model-question/m-p/222756#M175886</link>
      <description>FYI. I am a newbie to activiti, and am learning how I can use activiti. For some use cases, I want to be able to block my process execution, wait for some messages(or signals), after see activiti doc carefully, I decide to use java receive task. But here comes a problem, I cannot find the detailed e</description>
      <pubDate>Fri, 19 Aug 2016 08:35:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-engin-thread-model-question/m-p/222756#M175886</guid>
      <dc:creator>tonyado</dc:creator>
      <dc:date>2016-08-19T08:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti engin thread model question</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-engin-thread-model-question/m-p/222757#M175887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also I have the same worry about event. I want to know how event works in activiti. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 08:40:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-engin-thread-model-question/m-p/222757#M175887</guid>
      <dc:creator>tonyado</dc:creator>
      <dc:date>2016-08-19T08:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti engin thread model question</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-engin-thread-model-question/m-p/222758#M175888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe user guide explains it clearly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To continue process from receive task or signal catching event, you should send signal from external java code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Process should be persisted in database in order to receive signal and for common case it should not actively do something at that time. That is, if your process did not reach receive task and you send signal, nothing good will happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your code should query activiti engine for processes waiting in proper state and send signal that time. For short processes it can just wait and repeat. For long processes you have to make more sophisticated work-around.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 10:23:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-engin-thread-model-question/m-p/222758#M175888</guid>
      <dc:creator>warper</dc:creator>
      <dc:date>2016-08-19T10:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti engin thread model question</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-engin-thread-model-question/m-p/222759#M175889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;if I send a message before engine execute to the receive task node, will the receive task still get this message&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;No, in that case signal is not delivered. If you need such a functionality use some kind of messaging system with queues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To get familiar wit messages/signals/receive tasks read documentation and have a look on the activiti jUnit tests - the best documentation is code. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 13:37:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-engin-thread-model-question/m-p/222759#M175889</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-08-19T13:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti engin thread model question</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-engin-thread-model-question/m-p/222760#M175890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Warper and Martin very much, I just understand how it works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 11:26:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-engin-thread-model-question/m-p/222760#M175890</guid>
      <dc:creator>tonyado</dc:creator>
      <dc:date>2016-08-24T11:26:35Z</dc:date>
    </item>
  </channel>
</rss>

