<?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/"><channel><title>KB-1854 Opening a User constant throws an "All users and groups must be valid and visible to the viewer" error</title><link>https://community.appian.com/support/w/kb/1311/kb-1854-opening-a-user-constant-throws-an-all-users-and-groups-must-be-valid-and-visible-to-the-viewer-error</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1854 Opening a User constant throws an "All users and groups must be valid and visible to the viewer" error</title><link>https://community.appian.com/support/w/kb/1311/kb-1854-opening-a-user-constant-throws-an-all-users-and-groups-must-be-valid-and-visible-to-the-viewer-error</link><pubDate>Wed, 30 Jan 2019 18:33:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca197a7d-3a4c-4501-8013-dbf09f20cfd2</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/1311/kb-1854-opening-a-user-constant-throws-an-all-users-and-groups-must-be-valid-and-visible-to-the-viewer-error#comments</comments><description>Current Revision posted to Appian Knowledge Base by Jordan Horwat on 1/30/2019 6:33:07 PM&lt;br /&gt;
&lt;h2&gt;Symptom&lt;/h2&gt;
&lt;p&gt;When attempting to open a constant containing Users, the constant fails to open with the following&amp;nbsp;error message:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/chrome_5F00_2019_2D00_01_2D00_23_5F00_15_2D00_40_2D00_37.png"&gt;&lt;img src="/resized-image/__size/1200x0/__key/communityserver-wikis-components-files/00-00-00-00-11/chrome_5F00_2019_2D00_01_2D00_23_5F00_15_2D00_40_2D00_37.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The &lt;span class="code-object"&gt;System&lt;/span&gt; Has Encountered an Error
HTTP Code: 500
APNX-1-4198-000

Error Evaluating UI Expression
Expression evaluation error : Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!aos_overrideEditLink [line 9]: A user and group picker component [label=&lt;span class="code-quote"&gt;&amp;quot;&amp;quot;] has an invalid value &lt;span class="code-keyword"&gt;for&lt;/span&gt; &amp;quot;&lt;/span&gt;value&amp;quot;. All users and groups must be valid and visible to the viewer.&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;One or more of the users contained in the constant were renamed, and thus Appian does not recognize the old username&amp;nbsp;present in the constant as a&amp;nbsp;valid username.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Re-import the constant from another environment and configure it to contain the correct users with new usernames. If the constant cannot be imported from a lower environment, recreate it.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: January 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: appian objects, groups, user, constants, application design&lt;/div&gt;
</description></item><item><title>KB-1854 Opening a User constant throws an "All users and groups must be valid and visible to the viewer" error</title><link>https://community.appian.com/support/w/kb/1311/kb-1854-opening-a-user-constant-throws-an-all-users-and-groups-must-be-valid-and-visible-to-the-viewer-error/revision/2</link><pubDate>Wed, 30 Jan 2019 13:33:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca197a7d-3a4c-4501-8013-dbf09f20cfd2</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/1311/kb-1854-opening-a-user-constant-throws-an-all-users-and-groups-must-be-valid-and-visible-to-the-viewer-error#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Jordan Horwat on 1/30/2019 1:33:07 PM&lt;br /&gt;
&lt;h2&gt;Symptom&lt;/h2&gt;
&lt;p&gt;When attempting to open a constant containing Users, the constant fails to open with the following&amp;nbsp;error message:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/chrome_5F00_2019_2D00_01_2D00_23_5F00_15_2D00_40_2D00_37.png"&gt;&lt;img src="/resized-image/__size/1200x0/__key/communityserver-wikis-components-files/00-00-00-00-13/chrome_5F00_2019_2D00_01_2D00_23_5F00_15_2D00_40_2D00_37.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The &lt;span class="code-object"&gt;System&lt;/span&gt; Has Encountered an Error
HTTP Code: 500
APNX-1-4198-000

Error Evaluating UI Expression
Expression evaluation error : Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!aos_overrideEditLink [line 9]: A user and group picker component [label=&lt;span class="code-quote"&gt;&amp;quot;&amp;quot;] has an invalid value &lt;span class="code-keyword"&gt;for&lt;/span&gt; &amp;quot;&lt;/span&gt;value&amp;quot;. All users and groups must be valid and visible to the viewer.&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;One or more of the users contained in the constant were renamed, and thus Appian does not recognize the old username&amp;nbsp;present in the constant as a&amp;nbsp;valid username.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Re-import the constant from another environment and configure it to contain the correct users with new usernames. If the constant cannot be imported from a lower environment, recreate it.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: January 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: appian objects, groups, user, constants, application design&lt;/div&gt;
</description></item><item><title>KB-XXXX Opening a User constant throws an "All users and groups must be valid and visible to the viewer" error</title><link>https://community.appian.com/support/w/kb/1311/kb-1854-opening-a-user-constant-throws-an-all-users-and-groups-must-be-valid-and-visible-to-the-viewer-error/revision/1</link><pubDate>Tue, 29 Jan 2019 17:09:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca197a7d-3a4c-4501-8013-dbf09f20cfd2</guid><dc:creator>Jussi Lundstedt</dc:creator><comments>https://community.appian.com/support/w/kb/1311/kb-1854-opening-a-user-constant-throws-an-all-users-and-groups-must-be-valid-and-visible-to-the-viewer-error#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Jussi Lundstedt on 1/29/2019 5:09:46 PM&lt;br /&gt;
&lt;h2&gt;Symptom&lt;/h2&gt;
&lt;p&gt;When attempting to open a constant containing Users, the constant fails to open with the following&amp;nbsp;error message:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/chrome_5F00_2019_2D00_01_2D00_23_5F00_15_2D00_40_2D00_37.png"&gt;&lt;img src="/resized-image/__size/1200x0/__key/communityserver-wikis-components-files/00-00-00-00-13/chrome_5F00_2019_2D00_01_2D00_23_5F00_15_2D00_40_2D00_37.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The &lt;span class="code-object"&gt;System&lt;/span&gt; Has Encountered an Error
HTTP Code: 500
APNX-1-4198-000

Error Evaluating UI Expression
Expression evaluation error : Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!aos_overrideEditLink [line 9]: A user and group picker component [label=&lt;span class="code-quote"&gt;&amp;quot;&amp;quot;] has an invalid value &lt;span class="code-keyword"&gt;for&lt;/span&gt; &amp;quot;&lt;/span&gt;value&amp;quot;. All users and groups must be valid and visible to the viewer.&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;One or more of the users contained in the constant were renamed, and thus Appian does not recognize the old username&amp;nbsp;present in the constant as a&amp;nbsp;valid username.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Re-import the constant from another environment and configure it to contain the correct users with new usernames. If the constant cannot be imported from a lower environment, recreate it.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: January 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: appian objects, groups, user, constants, application design&lt;/div&gt;
</description></item></channel></rss>