<?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 Signal Event with variables in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/signal-event-with-variables/m-p/30333#M12910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two process definations "SignalEvent1" and "SignalEvent2" from "SignalEvent1" I am Trying to throws intermediate throwing signal event with signal "SubIncidentAdd" and calling this rest api call with following payload&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;runtime/signals&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; "signalName": "SubIncidentAdd",&lt;BR /&gt;&amp;nbsp; "tenantId" : "1",&lt;BR /&gt;&amp;nbsp; "async": false,&lt;BR /&gt;&amp;nbsp; "variables": [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {"name": "test", "value": "catch the event "}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in porcess defination "SignalEvent2" i have intermedetiate catching signal event which will catch this event and continue the execution with script task which will just print the variable "test" value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that i have started both the process definations before using rest api call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting &lt;STRONG&gt;204 status&lt;/STRONG&gt; while trying the above rest api using postman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attchment of App where i have included both the process definations&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2018 07:23:32 GMT</pubDate>
    <dc:creator>mdtabrezmca</dc:creator>
    <dc:date>2018-07-19T07:23:32Z</dc:date>
    <item>
      <title>Signal Event with variables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/signal-event-with-variables/m-p/30333#M12910</link>
      <description>Hi,I have two process definations "SignalEvent1" and "SignalEvent2" from "SignalEvent1" I am Trying to throws intermediate throwing signal event with signal "SubIncidentAdd" and calling this rest api call with following payloadruntime/signals{&amp;nbsp; "signalName": "SubIncidentAdd",&amp;nbsp; "tenantId" : "1",&amp;nbsp; "as</description>
      <pubDate>Thu, 19 Jul 2018 07:23:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/signal-event-with-variables/m-p/30333#M12910</guid>
      <dc:creator>mdtabrezmca</dc:creator>
      <dc:date>2018-07-19T07:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Signal Event with variables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/signal-event-with-variables/m-p/30334#M12911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just an update as i am unable to get the response but the functionality is working fine with the /runtime/Signals Api.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 09:27:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/signal-event-with-variables/m-p/30334#M12911</guid>
      <dc:creator>mdtabrezmca</dc:creator>
      <dc:date>2018-07-25T09:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Signal Event with variables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/signal-event-with-variables/m-p/30335#M12912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another Alternate method to use is we can write a listener and directly call the following &lt;STRONG&gt;runtime service&lt;/STRONG&gt; method&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Notifies the process engine that a signal event of name 'signalName' has been received. This method delivers the signal to a single execution, being the execution referenced by 'executionId'. The&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * waiting execution is notified synchronously.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param signalName&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the name of the signal event&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param executionId&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the id of the execution to deliver the signal to&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param processVariables&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a map of variables added to the execution(s)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @throws ActivitiObjectNotFoundException&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if no such execution exists.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @throws ActivitiException&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if the execution has not subscribed to the signal&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; &lt;STRONG&gt;void signalEventReceived(String signalName, String executionId, Map&amp;lt;String, Object&amp;gt; processVariables);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 11:11:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/signal-event-with-variables/m-p/30335#M12912</guid>
      <dc:creator>mdtabrezmca</dc:creator>
      <dc:date>2018-07-25T11:11:16Z</dc:date>
    </item>
  </channel>
</rss>

