<?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: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived() in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12126#M5360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Bilal Ghayad&lt;/B&gt;‌ can you provide a simple runnable example or a unit test that can be used to reproduce your issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of Activiti are you using? Here are some unit tests of signal events in Activiti 6&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Activiti/Activiti/blob/6.x/modules/activiti-engine/src/test/java/org/activiti/engine/test/bpmn/event/signal/SignalEventTest.java" title="https://github.com/Activiti/Activiti/blob/6.x/modules/activiti-engine/src/test/java/org/activiti/engine/test/bpmn/event/signal/SignalEventTest.java" rel="nofollow noopener noreferrer"&gt;Activiti/SignalEventTest.java at 6.x · Activiti/Activiti · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2018 10:46:33 GMT</pubDate>
    <dc:creator>bassam_al-saror</dc:creator>
    <dc:date>2018-11-28T10:46:33Z</dc:date>
    <item>
      <title>ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12120#M5354</link>
      <description>Hello;Please I need help.How I can test this code&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rocessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived("SignalName");I am trying to test it within process code but it is not working (nothing is happening and the signal catch event is not triggered), does this mean that it</description>
      <pubDate>Sat, 24 Nov 2018 19:11:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12120#M5354</guid>
      <dc:creator>bghayad</dc:creator>
      <dc:date>2018-11-24T19:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12121#M5355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you sinding the singnal event to the process can you please attach your porcess diagram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2018 05:29:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12121#M5355</guid>
      <dc:creator>mdtabrezmca</dc:creator>
      <dc:date>2018-11-26T05:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12122#M5356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the below code in the User Task and Service Task that are in red rectangle in the attached image:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived("SignalName");&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/24266_SignalCatchEvent.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But it is not triggered.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bilal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 10:15:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12122#M5356</guid>
      <dc:creator>bghayad</dc:creator>
      <dc:date>2018-11-27T10:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12123#M5357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bilal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; As i can see you are trying to throw signal event from within user task and service task that can be recieved by intermediate catching event are you sure you have used the same signal name for intermediate catching event ("&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;SignalName"&lt;/SPAN&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 10:57:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12123#M5357</guid>
      <dc:creator>mdtabrezmca</dc:creator>
      <dc:date>2018-11-27T10:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12124#M5358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tabrez;&lt;/P&gt;&lt;P&gt;Yes the same "SignalName" and the signal name configured to be global.&lt;/P&gt;&lt;P&gt;Also I did one test and it worked: I used Signal Throwing Event to trigger the Intermediate Signal Catch Event and it worked using the same "SignalName" which I used it in the&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived("SignalName");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: I am using the signal name and not the signal id.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;No error is giving but nothing is happening (the Intermediate Signal Catch Event is not triggered) and the workflow is not resume the work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I tried to use&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;signalEventReceived("SignalName", "Execution ID"); &lt;/SPAN&gt;and if I gave wrong "Execution ID", then it was giving me that the "Execution ID" is not subscribed with the "Signal Name" and if I used write "Execution ID", then no error is given but the Intermediate Signal Catch Event is not triggered and nothing is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I was knowing the right Execution ID by using the&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;signalEventSubscriptionName&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;("&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;SignalName"&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;)&lt;/SPAN&gt; and determining the "Execution ID".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what could be the reason for the problem that no error is given and the Intermediate Signal Catch Event is not triggered?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;Bilal&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 15:36:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12124#M5358</guid>
      <dc:creator>bghayad</dc:creator>
      <dc:date>2018-11-27T15:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12125#M5359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bilal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I would like &lt;B&gt;Bassam Al-Sarori&lt;/B&gt;‌ or &lt;B&gt;Daisuke _&lt;/B&gt;&amp;nbsp; to this thread to help us around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Tabrez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 05:18:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12125#M5359</guid>
      <dc:creator>mdtabrezmca</dc:creator>
      <dc:date>2018-11-28T05:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12126#M5360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Bilal Ghayad&lt;/B&gt;‌ can you provide a simple runnable example or a unit test that can be used to reproduce your issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of Activiti are you using? Here are some unit tests of signal events in Activiti 6&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Activiti/Activiti/blob/6.x/modules/activiti-engine/src/test/java/org/activiti/engine/test/bpmn/event/signal/SignalEventTest.java" title="https://github.com/Activiti/Activiti/blob/6.x/modules/activiti-engine/src/test/java/org/activiti/engine/test/bpmn/event/signal/SignalEventTest.java" rel="nofollow noopener noreferrer"&gt;Activiti/SignalEventTest.java at 6.x · Activiti/Activiti · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 10:46:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12126#M5360</guid>
      <dc:creator>bassam_al-saror</dc:creator>
      <dc:date>2018-11-28T10:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12127#M5361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;B&gt;Bassam Al-Sarori&lt;/B&gt;&amp;nbsp;and &amp;nbsp;&lt;B&gt;tabrez khan&lt;/B&gt;‌ and &lt;B&gt;daisuke-yoshimoto _&lt;/B&gt;‌ &lt;B&gt;Daisuke _&lt;/B&gt;‌&lt;/P&gt;&lt;P&gt;The problem is happening when the process contains user task. Once the process is containing user task, then Intermediate Signal Catching Event is not triggered using&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived("SignalName");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But it is possible to trigger it using the Intermediate Signal Throwing Event (even if the process is containing user task).&lt;/P&gt;&lt;P&gt;Please note that my maven pm file is showing the following details regarding the activiti version:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;groupId&amp;gt;org.activiti&amp;lt;/groupId&amp;gt;&lt;BR /&gt; &amp;lt;artifactId&amp;gt;activiti-engine&amp;lt;/artifactId&amp;gt;&lt;BR /&gt; &amp;lt;version&amp;gt;5.16.2&amp;lt;/version&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Kindly find as attachment for a process as example that can let you see the problem if you deploy it and tried it.&lt;/P&gt;&lt;P&gt;Please appreciate the kindly help.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bilal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 16:43:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12127#M5361</guid>
      <dc:creator>bghayad</dc:creator>
      <dc:date>2018-11-28T16:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12128#M5362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;B&gt;tabrez khan&lt;/B&gt;‌ &lt;B&gt;Bassam Al-Sarori&lt;/B&gt;‌ &lt;B&gt;Daisuke _&lt;/B&gt;‌ &lt;B&gt;daisuke-yoshimoto _&lt;/B&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help?&amp;nbsp;&lt;/P&gt;&lt;P&gt;And a fully thanks in advance.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bilal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 06:07:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12128#M5362</guid>
      <dc:creator>bghayad</dc:creator>
      <dc:date>2018-11-30T06:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12129#M5363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get help to resolve this problem?&lt;/P&gt;&lt;P&gt;It is important for my workflow to&amp;nbsp;resolve this problem.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bilal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Dec 2018 00:29:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12129#M5363</guid>
      <dc:creator>bghayad</dc:creator>
      <dc:date>2018-12-01T00:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12130#M5364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tested the process you provided using latest 5.x code base and it's working as expected. Signal is received and process completes normally. Did you try on latest 5.22?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Dec 2018 15:10:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12130#M5364</guid>
      <dc:creator>bassam_al-saror</dc:creator>
      <dc:date>2018-12-01T15:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12131#M5365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;B&gt;Bassam Al-Sarori&lt;/B&gt;‌&lt;/P&gt;&lt;P&gt;No, I did not try it on 5.22, I have to upgrade for this version and come back for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bilal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Dec 2018 18:18:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12131#M5365</guid>
      <dc:creator>bghayad</dc:creator>
      <dc:date>2018-12-01T18:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine().getRuntimeService().signalEventReceived()</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12132#M5366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;B&gt;Bassam Al-Sarori&lt;/B&gt;‌&lt;/P&gt;&lt;P&gt;The problem resolved by upgrading activiti to 5.22.&lt;/P&gt;&lt;P&gt;Thanks also for &lt;B&gt;tabrez khan&lt;/B&gt;‌&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bilal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2019 21:04:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/processengines-getdefaultprocessengine-getruntimeservice/m-p/12132#M5366</guid>
      <dc:creator>bghayad</dc:creator>
      <dc:date>2019-02-03T21:04:31Z</dc:date>
    </item>
  </channel>
</rss>

