<?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>array</title><link>https://community.appian.com/discussions/f/general/14320/array</link><description>Hi , 
 Is there any function to check whether all the values in the array are same ? 
 eg:A{1,1,1} --&amp;gt; I want to check whether all the values in the array A are same 
 Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: array</title><link>https://community.appian.com/thread/64529?ContentTypeID=1</link><pubDate>Fri, 08 Feb 2019 15:18:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:61a081de-07e2-4304-a84e-f753675f1d84</guid><dc:creator>pradeepb0001</dc:creator><description>Thank you ivan&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: array</title><link>https://community.appian.com/thread/64528?ContentTypeID=1</link><pubDate>Fri, 08 Feb 2019 15:07:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:91187fb3-3772-4a9a-aff7-6fc5fac8f7d0</guid><dc:creator>Iv&amp;#225;n Heredia</dc:creator><description>Hi,&lt;br /&gt;
You can try something like this:&lt;br /&gt;
&lt;br /&gt;
with(&lt;br /&gt;
  local!array: {1,1,1},&lt;br /&gt;
  length(&lt;br /&gt;
    union(local!array, local!array)&lt;br /&gt;
  )&lt;br /&gt;
)&lt;br /&gt;
/*If the result equals to 1, then all the items in the array are the same*/&lt;br /&gt;
/*If the result is greater than 1, then at least one item is different*/&lt;br /&gt;
&lt;br /&gt;
Hope it helps&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>