<?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>Compare two arrays and find items that are missing in second array</title><link>https://community.appian.com/discussions/f/user-interface/25933/compare-two-arrays-and-find-items-that-are-missing-in-second-array</link><description>I have 2 arrays that they are identical at first but the user may remove (not able to add but just remove) items from the second array. I want to find items that are in the first array but not in the second one. How can I do it?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Compare two arrays and find items that are missing in second array</title><link>https://community.appian.com/thread/101390?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2022 09:18:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:984c7c1e-37b9-4112-9203-a5b78909f41b</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Yes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compare two arrays and find items that are missing in second array</title><link>https://community.appian.com/thread/101388?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2022 09:17:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:949d8268-43a4-4315-9a44-76a2e3b5fd11</guid><dc:creator>joaoc1131</dc:creator><description>&lt;p&gt;something like this?&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  
  local!A:{2;3;4},
  local!B:{2;4}
  
  difference(local!A,local!B)
  
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compare two arrays and find items that are missing in second array</title><link>https://community.appian.com/thread/101386?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2022 09:11:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:299d4851-1ebe-49e8-bdda-90cd7d510b34</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You can use the difference() function.&amp;nbsp;&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/22.3/fnc_set_difference.html"&gt;docs.appian.com/.../fnc_set_difference.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>