<?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>Could not cast from User to Number</title><link>https://community.appian.com/discussions/f/new-to-appian/22725/could-not-cast-from-user-to-number</link><description>Hello, 
 I have this error in an Interface and I don&amp;#39;t how to solve: 
 Se ha producido un error en la expresi&amp;#243;n a!forEach() durante la iteraci&amp;#243;n 1: Error de evaluaci&amp;#243;n de expresi&amp;#243;n at function &amp;#39;tointeger&amp;#39; [line 118]: Could not cast from User to Number</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Could not cast from User to Number</title><link>https://community.appian.com/thread/88897?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 13:24:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e3fc4a43-8ec7-4aa8-bc7d-d261e38baa81</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Technically a user cannot be represented as an integer. Regardless of what you do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not cast from User to Number</title><link>https://community.appian.com/thread/88896?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 12:56:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:88346a46-aa61-4592-959c-dacab3f8f136</guid><dc:creator>gayathris876948</dc:creator><description>&lt;p&gt;agree with&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/andrewh0007"&gt;ajhick&lt;/a&gt;. what is the code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not cast from User to Number</title><link>https://community.appian.com/thread/88895?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 12:55:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a498696-a402-4932-ba30-dbb5683cc21a</guid><dc:creator>gayathris876948</dc:creator><description>&lt;p&gt;Adding&amp;nbsp;&lt;span&gt;tostring before user value may fix this issue,&amp;nbsp;&lt;/span&gt; tointeger(tostring(loggedInUser()))&lt;br /&gt;&lt;br /&gt;But is there any specific reason for coverting the user to integer?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not cast from User to Number</title><link>https://community.appian.com/thread/88894?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 12:32:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:74a00f1c-5f7f-4434-aa41-39923cd195cb</guid><dc:creator>ajhick</dc:creator><description>&lt;p&gt;Could be many things. What&amp;#39;s your code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>