<?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: Sending and receiving messages (Data handling in BPMN 2.0) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155257#M109615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you signal/message through the API, you can pass in a payload. This payload are a map of variables variables will be set on the execution, before signal/message is received…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2013 09:16:18 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2013-12-17T09:16:18Z</dc:date>
    <item>
      <title>Sending and receiving messages (Data handling in BPMN 2.0)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155254#M109612</link>
      <description>Hello,I want to send and receive a message from one process to another.Since intermediate throw event is not yet supported, I used a send Task in the first process and an intermediate catch event in the other process.I defined also the collaboration part in order to send messages through message flo</description>
      <pubDate>Fri, 13 Dec 2013 10:34:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155254#M109612</guid>
      <dc:creator>olfa1</dc:creator>
      <dc:date>2013-12-13T10:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sending and receiving messages (Data handling in BPMN 2.0)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155255#M109613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the BPMN, I don't see any place where a message is sent, only a webservice-invocation. As an alternative to a message-event, you can use an intermediate throwing signal event (which is supported) and set the "scope" of the throwing event to NOT be process-instance local. This way, the throwing event will be fired throughout the engine, based on the signal-name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do this by declaring activiti:scope="global" on the signal-element in your XML (in both thowing and receiving BPMN's).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 07:08:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155255#M109613</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-16T07:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sending and receiving messages (Data handling in BPMN 2.0)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155256#M109614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried with signals and it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want to carry data with messages. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 10:33:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155256#M109614</guid>
      <dc:creator>olfa1</dc:creator>
      <dc:date>2013-12-16T10:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sending and receiving messages (Data handling in BPMN 2.0)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155257#M109615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you signal/message through the API, you can pass in a payload. This payload are a map of variables variables will be set on the execution, before signal/message is received…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 09:16:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155257#M109615</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-17T09:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sending and receiving messages (Data handling in BPMN 2.0)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155258#M109616</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;SPAN&gt;I am trying to do the same thing using the Explorer and modeler. Unfortunately there is no message throwing element and I cannot use the xml editing approach because the editor trims it out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did manage to send a signal with info in it by running the receiving process with a signal catching task first and getting its id from ACT_HI_ACTINST and then injecting it into a Service task and calling signal method. This is what the code looks like in the delegate java class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RuntimeService rs = execution.getEngineServices().getRuntimeService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String signalToSendTo = sendTo.getExpressionText();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Map params = new HashMap&amp;lt;&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;params.put("message", message.getExpressionText());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rs.signal(signalToSendTo, params);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a workaround for the message throwing task, but since you have to get the destination's id manually this approach is also not good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please help me with this matter?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: when will the message throwing event will be available in the editor? The New Feature entry in Jira (&lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-460" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-460&lt;/A&gt;&lt;SPAN&gt;) has the Fix Version set to "Later".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 15:02:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155258#M109616</guid>
      <dc:creator>iceman20</dc:creator>
      <dc:date>2013-12-17T15:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sending and receiving messages (Data handling in BPMN 2.0)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155259#M109617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I didn't understand what do you mean by signal/message through the API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you clarify it please with an example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 09:37:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155259#M109617</guid>
      <dc:creator>olfa1</dc:creator>
      <dc:date>2013-12-18T09:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sending and receiving messages (Data handling in BPMN 2.0)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155260#M109618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Olfa, messaging through API is possible by calling runtimeService.messageEventReceived(…) allowing you to specify which execution and which message was received.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;iceman20, you could use a service-task that uses the DelegateExpression's EngineServices to trigger a message-event through the API, although this might not work in all circumstances (state of current execution is not yet persisted, this can be overcome by making the service-task asynchronous). If you need to have the "messageName" configurable, take a look at field injection in JavaDelegates (see userguide), which allows you to specify a value in the BPMN-xml which can be used in your service-task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 10:43:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-and-receiving-messages-data-handling-in-bpmn-2-0/m-p/155260#M109618</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-18T10:43:23Z</dc:date>
    </item>
  </channel>
</rss>

