<?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 email smart service</title><link>https://community.appian.com/discussions/f/general/24290/send-email-smart-service</link><description>I have a multi selection checkbox, so if i select any of the options in that checkbox then only that mail has to be sent to a group of users outside appian and also i want to link a record in the mail body can anyone please help how to achive this. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Send email smart service</title><link>https://community.appian.com/thread/93796?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 13:03:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:afa7f204-fada-45f3-b7e6-c782f191d225</guid><dc:creator>Mh q</dc:creator><description>&lt;p&gt;Hi Naresh,&lt;/p&gt;
&lt;p&gt;Thanks brother I really appriciate for the information shared by you. It helped alot, Thanks once again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send email smart service</title><link>https://community.appian.com/thread/93727?ContentTypeID=1</link><pubDate>Mon, 18 Apr 2022 13:02:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f032682-146d-41b5-b712-1f877c54b5bd</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;Hi Mh,&lt;/p&gt;
&lt;p&gt;Please see the attached images. One image will show how the flow looks like and another image will show sample XOR condition.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/Sample-Process.PNG" /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/Sample-XOR-Condition.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send email smart service</title><link>https://community.appian.com/thread/93705?ContentTypeID=1</link><pubDate>Mon, 18 Apr 2022 07:18:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:519d8724-c1c1-4c01-b007-aef3568da1b2</guid><dc:creator>Mh q</dc:creator><description>&lt;p&gt;Hi Naresh,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First of all Thank you soo much i will definitely give it a try. I just had one more question,&lt;/p&gt;
&lt;p&gt;Can we use more than two conditions in one &amp;quot;XOR&amp;quot;, or we have to use two instead of using one.&lt;/p&gt;
&lt;p&gt;My requirement is like.,&lt;/p&gt;
&lt;p&gt;If I submit the page it should validate whether the multi-selection is selected or not if not it should proceed to next node(i.e.., Script task) if yes then it should go to &amp;quot;SEND EMAIL&amp;quot; node, If cancelled then it should proceed to end node.&lt;/p&gt;
&lt;p&gt;Can you also tell me how to write the condition to select the pv for multi-selection in &amp;quot;XOR&amp;quot; gateway&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send email smart service</title><link>https://community.appian.com/thread/93694?ContentTypeID=1</link><pubDate>Sun, 17 Apr 2022 19:39:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2384536f-d0e3-4377-8000-9eff4a38bfd3</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;Hi Mh,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;First you need to save multi selection values in one of your process variable (Assume the pv is selectedMultiselectionValues)&lt;/li&gt;
&lt;li&gt;After saving the multi selection values in process variable, in process model add XOR condition to check whether the selection value is empty or not&lt;/li&gt;
&lt;li&gt;If the selection values are not empty, then add send email node after XOR, if selection values are empty configure you flow to other path (may be terminate node)&lt;/li&gt;
&lt;li&gt;configure your email node with following values (Email node only triggers if selection values are not empty)&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Configure email recipients (you mentioned those users are out side of Appian)
&lt;ul&gt;
&lt;li&gt;If users are out side Appian use list of&amp;nbsp; email address (as those users are not exist in Appian)&lt;/li&gt;
&lt;li&gt;If those users are inside&amp;nbsp;Appian and those users are in specific group, use that group to send that email notification (Use a constant to call that group)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Important Note:&amp;nbsp;&lt;/strong&gt;If those email recipients don&amp;#39;t have an Appian account they wont be able to access that record (since you are planning to include record link in email body) because those users don&amp;#39;t have access to Appian. Consider this if your are planning to send email notification outside Appian user and expecting those user will view this record.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Configure your Email Subject&lt;/li&gt;
&lt;li&gt;Configure your Email Body using expression editor or create an expression rule for email body and call that rule here&amp;nbsp;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;When you configuring email body use the following function to get your specific record link&amp;nbsp;
&lt;ul&gt;
&lt;li&gt;urlforrecord(&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; recordType: your record (ex: recordType!Employee,&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;recordIds: your record id (ex: 1)&lt;br /&gt; )&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Use HTML link to call your record link url
&lt;ul&gt;
&lt;li&gt;concat(&lt;br /&gt; &amp;quot;&amp;lt;a href=&amp;quot;,&lt;br /&gt; ri!url,&lt;br /&gt; &amp;quot;&amp;gt;&amp;quot;,&lt;br /&gt; ri!linkText,&lt;br /&gt; &amp;quot;&amp;lt;/a&amp;gt;&amp;quot;&lt;br /&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I hope this will help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>