<?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 subprocess on signal in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/start-subprocess-on-signal/m-p/154017#M108536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I start embedded subprocess on signal, all works like in example &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/comment/13412#comment-13412" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/comment/13412#comment-13412&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Launch process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. runtimeService.signalEventReceived("launchCandidateSubprocessSignal")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. End Process&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I start the process first time - all works fine. But if I start it the second time - it launch TWO subprocess, the third - THREE subprocess, and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bad way to resolve it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that if to clear ACT_RU_EVENT_SUBSCR table each time, all works fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. How to correctly populate signals?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Does it acceptable to clear the ACT_RU_EVENT_SUBSCR table on main process start&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Aug 2013 14:16:35 GMT</pubDate>
    <dc:creator>jolo_</dc:creator>
    <dc:date>2013-08-22T14:16:35Z</dc:date>
    <item>
      <title>Start subprocess on signal</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-subprocess-on-signal/m-p/154017#M108536</link>
      <description>I start embedded subprocess on signal, all works like in example http://forums.activiti.org/comment/13412#comment-13412.What I do:1. Launch process2. runtimeService.signalEventReceived("launchCandidateSubprocessSignal")3. End ProcessProblem:When I start the process first time - all works fine. But i</description>
      <pubDate>Thu, 22 Aug 2013 14:16:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-subprocess-on-signal/m-p/154017#M108536</guid>
      <dc:creator>jolo_</dc:creator>
      <dc:date>2013-08-22T14:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Start subprocess on signal</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-subprocess-on-signal/m-p/154018#M108537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems I know the answer - I didn't complete subprocess. So the table ACT_RU_EVENT_SUBSCR wasn't cleaned.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; But there are many situations when I won't complete my subprocess, for example, during app development I want to stop the whole process. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question: how to correctly avoid the problem above? Means multiple invokation on single signal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 14:41:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-subprocess-on-signal/m-p/154018#M108537</guid>
      <dc:creator>jolo_</dc:creator>
      <dc:date>2013-08-22T14:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Start subprocess on signal</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-subprocess-on-signal/m-p/154019#M108538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The signal event broadcasts the event to every running process instance with that signal name, so it's clear that this is expected behavior. If you don't want this behavior you could add a specific execution id to your signalEventReceived method call&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>Fri, 23 Aug 2013 09:08:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-subprocess-on-signal/m-p/154019#M108538</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-08-23T09:08:05Z</dc:date>
    </item>
  </channel>
</rss>

