<?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 how to invoke a message start event in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-a-message-start-event/m-p/37953#M20068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I want to invoke a process which have a 'message start event' . However I couldnt figure out how to do it. please explain how we could do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to know how to set it up in both in the modeller, and how to pass it through the java call itself, while calling startProcessInstanceByKey().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For clarity i will explain with an example. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. My process wants to start when it recieves a message by the name "message1".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fig would be[img]&lt;/SPAN&gt;&lt;A href="http://img251.imageshack.us/img251/8260/screenshot1yz.png" rel="nofollow noopener noreferrer"&gt;http://img251.imageshack.us/img251/8260/screenshot1yz.png&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. i need to pass the value for it, when i invoke it from the java api call. (like startProcessInstanceByKey() )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. so how do i do it in the java code, and how do i set the properties in the modeller as well, so that it can recieve the message correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. I would also like to see if some one could post the xml representation of a proper message start event.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Oct 2010 07:38:44 GMT</pubDate>
    <dc:creator>aqs</dc:creator>
    <dc:date>2010-10-14T07:38:44Z</dc:date>
    <item>
      <title>how to invoke a message start event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-a-message-start-event/m-p/37953#M20068</link>
      <description>Hi, I want to invoke a process which have a 'message start event' . However I couldnt figure out how to do it. please explain how we could do it.I want to know how to set it up in both in the modeller, and how to pass it through the java call itself, while calling startProcessInstanceByKey().For cla</description>
      <pubDate>Thu, 14 Oct 2010 07:38:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-a-message-start-event/m-p/37953#M20068</guid>
      <dc:creator>aqs</dc:creator>
      <dc:date>2010-10-14T07:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to invoke a message start event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-a-message-start-event/m-p/37954#M20069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;use a plain start event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you have to write a (jms) message listener, capture the message in a java variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then you can build up the map of variables from the message that you receive.&amp;nbsp; you can choose to put the whole message in there or just specific values from the message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then you can supply that variable map in the startProcessInstanceByKey method invocation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the future we'll add convenience support for this kind of construct but we don't have that for now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 10:34:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-a-message-start-event/m-p/37954#M20069</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2010-10-14T10:34:50Z</dc:date>
    </item>
  </channel>
</rss>

