<?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>Concatenation of String</title><link>https://community.appian.com/discussions/f/process/8809/concatenation-of-string</link><description>Hi All, We have one requirement where, we need to send a mail to the particular user. i.e, we have one pv!abc which has username, and for which we are concatenating with our domain . So we need &amp;quot;pv!abc@domain.com&amp;quot;. We tried all the possibilities but none</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39149?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 21:07:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c6ee78d-c8d0-45e7-b26e-883c20c92c23</guid><dc:creator>rohandhondilalk</dc:creator><description>@chandrasekharg, @sikhivahans : Thanks for the responses. We got the solution&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39148?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 20:33:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:beb60c21-9cdc-48f5-8cff-5d3c2bec9f4a</guid><dc:creator>chandu</dc:creator><description>Apart from the above please check does email node is getting failed for every user in that domain? We have this use case we cannot send emails for particular domain&lt;br /&gt;for eg:xyz@gmail.com is a valid email but as per client restriction we cannot able to send the email to xyz@gmail.com,doing so the email node gets fail. &lt;br /&gt;Instead we can able to send xyz@gmail2.com where both domains are belongs to same client.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39147?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 20:20:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d39b048e-7335-45ff-ad49-b2fd3c266611</guid><dc:creator>chandu</dc:creator><description>i have given the expression as toemailaddress(concat(pv!username,&amp;quot;@domain.com&amp;quot;)) in the To field of Send Email Node. The expression has worked for me and we are using 16.3.&lt;br /&gt;to avoid using toemailaddress(), we can take a pv variable of type email address, and give the value to that pv as concat(pv!username,&amp;quot;@domain.com&amp;quot;). This is not required as we can directly convert the text value to email address using toemailaddress() function.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39146?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 19:17:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f04892c0-6d3b-4c77-8806-020ce17320df</guid><dc:creator>chandu</dc:creator><description>does Email setup is done?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39143?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 18:59:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:830b9557-28a7-40cb-83f0-6d7c7cec6883</guid><dc:creator>sikhivahans</dc:creator><description>No worries, ideally both are needed afaik but not one of them. Because toemailaddress() converts the data type of source(which is concatenated string in your case) to Email Address type and toemailrecipient() converts this Email Address type to Email Recipient type which then becomes valid to be used in to/cc of the Send Email node.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39141?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 18:52:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:46e5a76f-305d-4d47-bfc8-f5e55d920b68</guid><dc:creator>rohandhondilalk</dc:creator><description>@sikhivahans,&lt;br /&gt;&lt;br /&gt;As of now we tried individually, we will try both and update you. thanks :)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39140?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 18:50:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:350f52c6-4280-4b84-b6d6-c11e959b41b4</guid><dc:creator>rohandhondilalk</dc:creator><description>@ sikhivahans,&lt;br /&gt;Thanks . The recipients  are valid and we had tried the fn! which you had mentioned.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39139?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 18:48:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:17439153-ab8f-4be4-b8cc-3b59c70d9678</guid><dc:creator>sikhivahans</dc:creator><description>@rohandhondilak Did you try the combination of both, that is, toemailrecipient(toemailaddress()) or only one of them?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39138?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 18:43:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b64b4390-c354-471e-9287-ba07b1384f55</guid><dc:creator>rohandhondilalk</dc:creator><description>@rajasekharp, &lt;br /&gt;&lt;br /&gt;We have tried the same and its not working with us.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39137?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 18:41:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:decc5817-78e4-4ad2-8923-7d1df508096b</guid><dc:creator>Rajasekhar Pamidipati</dc:creator><description>Hi rohandhondilalk,&lt;br /&gt;&lt;br /&gt;If you have user with valid email id configured while creating or updating that your, then you can directly use that user as recreant for sending email. because if you give user as input then appian will automatically take the email provided for that user.&lt;br /&gt;&lt;br /&gt;If in case you want to use email id like pv!abc with domain name, in that case you can concatenate them like pv!abc &amp;amp; &amp;quot;domain.com&amp;quot; and you need to use toemailaddress() or  toemailrecipient() to convert that text value into email type.&lt;br /&gt;&lt;br /&gt;It will be like toemailaddress(pv!abc &amp;amp; &amp;quot;domain.com&amp;quot;) which will Email Address type as output.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39136?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 18:35:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0fa9b6ec-ec78-4806-b8e4-a65a20649c4b</guid><dc:creator>sikhivahans</dc:creator><description>@rohandhondilak Would you please be let us know at a high level on what you have tried? And when you mean none of them worked, what is it that you are experiencing - an error or a successfully completed node without sending any email?&lt;br /&gt;&lt;br /&gt;I believe you would have already done concatenation as it's straight forward. Did you apply the following conversion over the concatenated string prior to including the recipient details in the to/cc of Send email node? I believe it might be worth giving a try. &lt;br /&gt;fn!toemailrecipient(fn!toemailaddress(fn!concat(pv!abc,domain.com)))&lt;br /&gt;&lt;br /&gt;There could be some more issues here but I am looking at the validity of the recipients in the first place.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39135?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 18:26:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c39ad54d-7fb2-4cd0-b33f-783936066fc5</guid><dc:creator>helmuta</dc:creator><description>I just created an expression rule that has two inputs user and domain.  In the rule the code is ri!user&amp;amp;ri!domain and the value comes back correctly.  Another option would be to look up the user in the Appian user table and get the email address.  Something like user(pv!abc, email)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39133?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 18:22:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:be835452-643b-4279-8e0d-fae364b59bd8</guid><dc:creator>rohandhondilalk</dc:creator><description>Yes , he is in Appian.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concatenation of String</title><link>https://community.appian.com/thread/39131?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 18:20:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ec973f7-2b31-47fe-80e4-5900e7ffdd6c</guid><dc:creator>helmuta</dc:creator><description>Is the user in Appian?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>