<?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>Weird behaviour of user when i use to convert emails to &amp;#39;touser&amp;#39;</title><link>https://community.appian.com/discussions/f/general/38728/weird-behaviour-of-user-when-i-use-to-convert-emails-to-touser</link><description>As I am getting a list of text strings separated by semicolons in a single line, my focus is to split them into different values. After that, I need to convert them to users using the touser() function. However, it is currently showing [ID NOT FOUND]</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Weird behaviour of user when i use to convert emails to 'touser'</title><link>https://community.appian.com/thread/146416?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 15:42:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dcdf5027-7430-4ab6-97b5-72c4f5750f54</guid><dc:creator>Ankush Sharma</dc:creator><description>&lt;p&gt;Thanks you everyone for your help and reach out to my question.... I have solved this issue by adding isusernametaken() function...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird behaviour of user when i use to convert emails to 'touser'</title><link>https://community.appian.com/thread/146414?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 15:32:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:515a2a37-50da-496b-9059-3a8778265cbe</guid><dc:creator>Ankush Sharma</dc:creator><description>&lt;p&gt;I have solved this issue by checking isusernametaken() function so it is working smoothly right now !!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird behaviour of user when i use to convert emails to 'touser'</title><link>https://community.appian.com/thread/146382?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 04:42:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:41bd12d7-5e59-4b10-bead-03d19a5fd76a</guid><dc:creator>Vyshnavi Naripeddi</dc:creator><description>&lt;p&gt;Is the username the same as the email? You might encounter this issue if they are different.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1742445731035v1.png" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1742445733714v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird behaviour of user when i use to convert emails to 'touser'</title><link>https://community.appian.com/thread/146369?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2025 12:45:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b5863801-4b21-4ce3-925c-df72d3ff5262</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Temporarily remove the &amp;quot;touser&amp;quot; call from inside your a!forEach loop and ensure the (now text) output matches your expectations.&amp;nbsp; And, I guess, double check that the email address you&amp;#39;re trying to pass actually is a *username*.&amp;nbsp; You could also replace &amp;quot;touser&amp;quot; with one of the user-checking functions (&lt;em&gt;may or may not require the People Functions plugin&lt;/em&gt;) like &amp;quot;isUsernameTaken()&amp;quot;, etc, and see what that returns as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird behaviour of user when i use to convert emails to 'touser'</title><link>https://community.appian.com/thread/146367?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2025 12:21:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b8c77799-c8a6-424a-a9bd-6480093e451b</guid><dc:creator>laurensw</dc:creator><description>&lt;p&gt;While your point is valid I have doubts on whether that is the issue here.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Appian seems to adjust to it.&lt;br /&gt;Testing the setup&amp;nbsp;does produce 2 proper items for the forEach loop..&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1742386839502v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird behaviour of user when i use to convert emails to 'touser'</title><link>https://community.appian.com/thread/146366?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2025 11:56:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8a9fcc71-6b52-41e2-80eb-c5591acb4613</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;I think casing is&amp;nbsp;most likely the issue.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1742385386674v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1742385415211v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird behaviour of user when i use to convert emails to 'touser'</title><link>https://community.appian.com/thread/146365?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2025 11:41:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de12798b-9e05-40c0-b3ea-4f8ddb5f1db3</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I think the issue is that you defined the rule input as a list of text, but then pass ONE string that contains two items.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird behaviour of user when i use to convert emails to 'touser'</title><link>https://community.appian.com/thread/146363?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2025 10:42:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:42f623a4-ba3c-402e-9330-c23baef17f88</guid><dc:creator>pavithraacharya</dc:creator><description>&lt;p&gt;Have you checked the casing of username? If the username is &lt;a id="" href="mailto:test.test@gmail.com"&gt;test.test@gmail.com&lt;/a&gt;&amp;nbsp;and when we try to do touser(Test.Test@gmail.com) we get this kind of error.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird behaviour of user when i use to convert emails to 'touser'</title><link>https://community.appian.com/thread/146362?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2025 10:41:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d66b8227-7531-4804-9da7-ee9aed4c5737</guid><dc:creator>laurensw</dc:creator><description>&lt;p&gt;Are you sure the users&amp;#39; username (not e-mailadress) is that exact same string?&lt;br /&gt;Try achieving touser(USERNAME) for this user in isolation and see if it works. In other words, divide up the logic and test each step such that the location of your problem becomes more evident.&lt;br /&gt;Also you might want to mask existing e-mailaddresses&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>