<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Send message</title><link>https://community.appian.com/discussions/f/process/24142/send-message</link><description>Hello , 
 I am confused with the sending of messages. I want to send a message to a specific instance, I don&amp;#39;t want to send a message to all instances of a process model. The only way I found is creating a condition in which I evaluate if the instance</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Send message</title><link>https://community.appian.com/thread/93092?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2022 18:15:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f214f7ac-d085-4de8-a4f4-e2d447f67537</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;The documentation goes on to cover this case as well, just a bit further down:&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1648750494234v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Apologies as I haven&amp;#39;t dealt with this stuff myself in a while, so I don&amp;#39;t have any live examples (that i know of) in my environment to provide you with any additional clarification.&lt;/p&gt;
&lt;p&gt;Edit to add: i whipped up a single-model tester for this and verified it myself.&lt;/p&gt;
&lt;p&gt;Step 1: set a new mapping on the Send event (here named &amp;quot;target&amp;quot;, it can be whatever name and type you want)&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1648754412764v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Step 2: on the Setup tab of the Receive node, create a Condition or Expression (or import the condition from &amp;quot;Import Custom Properties&amp;quot;, although all this does is give you the message mapping names pre-staged, which you can do yourself eventually), and set the node condition to execute when the target is the correct value:&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1648754578856v3.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send message</title><link>https://community.appian.com/thread/93091?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2022 18:08:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4131c18-e110-4ec4-b95b-31a7116a6121</guid><dc:creator>Ra&amp;#250;l G&amp;#243;mez Moya</dc:creator><description>&lt;p&gt;Thanks ,&lt;/p&gt;
&lt;p&gt;I already managed to send a message to a specific process, but now I have the need to send a message to a specific process and at the same time to a specific receive message event. Try this configuration and what happens is that the message arrives to all active instances and to all receive message events.&lt;/p&gt;
&lt;p&gt;Any ideas ?&lt;/p&gt;
&lt;p&gt;Config Send Event:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1648749976704v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1648750001532v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Result :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1648750095836v3.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send message</title><link>https://community.appian.com/thread/93090?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2022 17:28:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33f784de-377c-420e-8200-c3f1d3c2533d</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;AFAIK the process instance ID is set in the &amp;quot;DestinationProcessID&amp;quot; parameter.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1648747638250v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately the node&amp;#39;s configuration labels are a little vague on this aspect, but the &lt;a href="https://docs.appian.com/suite/help/22.1/Send_Message_Event.html"&gt;official appian documentation&lt;/a&gt; is a little more clear:&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1648747725060v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send message</title><link>https://community.appian.com/thread/93067?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2022 13:21:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:45ec885e-b53d-4c75-89b0-25b80898418d</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;So whilst you have to configure a &amp;quot;listener&amp;quot; (receive message) in the process model (so that all instances &lt;strong&gt;can&lt;/strong&gt; receive a message) you can send a message to a specific instance. You do this by determining the target ProcessId. In order to get the instance ProcessId you need to create a process Report, and your process that sends the message needs to have a value that is unique to your target process instance that is visible to the process report - e.g. a unique business value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send message</title><link>https://community.appian.com/thread/93066?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2022 13:09:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9348bb2a-12d8-4bcb-9cf3-33ba2c511d64</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You can directly target a specific instance.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/22.1/Messaging_Best_Practices.html#target-processes-by-id"&gt;docs.appian.com/.../Messaging_Best_Practices.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>