<?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: How to send specific signal to receive tasks? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193803#M146933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, the REST API also provides support for signal and message events. Receive tasks can't be coupled to a message or signal event however. You need to use an intermediate catch event for that purpose.&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>Sun, 29 Mar 2015 18:01:11 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2015-03-29T18:01:11Z</dc:date>
    <item>
      <title>How to send specific signal to receive tasks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193800#M146930</link>
      <description>Hello,I have two receive tasks, called task1 and task2.I arrive at task1 and I have multiple services that could potentially send a signal to the executionId of task1. How do I limit the receiveTask so that it proceeds only when it receives a certain eventName?I couldn't find any example in the REST</description>
      <pubDate>Fri, 27 Mar 2015 01:06:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193800#M146930</guid>
      <dc:creator>jhahn</dc:creator>
      <dc:date>2015-03-27T01:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to send specific signal to receive tasks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193801#M146931</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;BR /&gt;&lt;SPAN&gt;Signals are broadcasts. I would use messages - I would use them instead. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;example&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.activiti.engine.test.bpmn.event.message.MessageIntermediateEventTest&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, 27 Mar 2015 08:06:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193801#M146931</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-03-27T08:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to send specific signal to receive tasks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193802#M146932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this not supported in the REST API?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 18:00:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193802#M146932</guid>
      <dc:creator>jhahn</dc:creator>
      <dc:date>2015-03-27T18:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to send specific signal to receive tasks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193803#M146933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, the REST API also provides support for signal and message events. Receive tasks can't be coupled to a message or signal event however. You need to use an intermediate catch event for that purpose.&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>Sun, 29 Mar 2015 18:01:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193803#M146933</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-03-29T18:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to send specific signal to receive tasks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193804#M146934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;But I need to have a timer on the task to escalate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to do something like this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blog.goodelearning.com/wp-content/uploads/2014/05/diagram-3.jpg" rel="nofollow noopener noreferrer"&gt;http://blog.goodelearning.com/wp-content/uploads/2014/05/diagram-3.jpg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So for the "Waiting for response", I want it to wait until a message called "responseReturned" gets sent to the process instance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you're saying receive task doesn't support the ability to complete the task for a specific messageName only?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I see "Message Ref" property on intermediate message event, which is what I think I need. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If impossible, I guess I could use User Task for this purpose and just assign the owner to the "system"…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm relatively new to bpmn/activiti so I apologize if this is all trivial knowledge…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 21:06:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193804#M146934</guid>
      <dc:creator>jhahn</dc:creator>
      <dc:date>2015-03-31T21:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to send specific signal to receive tasks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193805#M146935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah ok, that wasn't clear to me. Yes you can attach a boundary message event to a receive task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the user guide this points to the correct REST API service to call to invoke the boundary message event:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15.6.2. Execute an action on an execution&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PUT runtime/executions/{executionId}&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>Wed, 01 Apr 2015 11:41:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193805#M146935</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-04-01T11:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to send specific signal to receive tasks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193806#M146936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, so now I attached the boundary message event to a receive task. However, this pattern FEELS wrong…&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://i.imgur.com/DYbooAl.png" rel="nofollow noopener noreferrer"&gt;http://i.imgur.com/DYbooAl.png&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, it still won't recognize the message and throw the error &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Execution with id '10684728' does not have a subscription to a message event with name 'thingFinished'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I need to subscribe this receive task to a message event? If that functionality exists, I probably don't need the message boundary event?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I'm not understanding the purpose of receive task correctly…&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 17:44:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193806#M146936</guid>
      <dc:creator>jhahn</dc:creator>
      <dc:date>2015-04-01T17:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to send specific signal to receive tasks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193807#M146937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The receive task waits, does nothing until you call runtimeService.signal(executionID).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, this is pretty confusing, cause it has NOTHING to do with a BPMN signal event (that's signalEventReceived, rather).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So either you call the API directly, on receiving the message (eg on a JMS queue or whatever), or you have a message event, in that case you will need to call the void messageEventReceived(String messageName, String executionId); method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:42:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-send-specific-signal-to-receive-tasks/m-p/193807#M146937</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-04-07T12:42:33Z</dc:date>
    </item>
  </channel>
</rss>

