<?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>Couldnt compare 2 list of dictionaries</title><link>https://community.appian.com/discussions/f/rules/18595/couldnt-compare-2-list-of-dictionaries</link><description>Hi All, 
 I have a requirement where i do have 2 list of dictionaries(X,Y). So im iterating the first one X and comparing whether its value is present in the Second one Y,if not present then i should get the value.Eventhough ,the value is present in Y</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Couldnt compare 2 list of dictionaries</title><link>https://community.appian.com/thread/73272?ContentTypeID=1</link><pubDate>Sun, 12 Apr 2020 12:57:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:74453ad6-7e1e-455c-ad2d-e55802553e0f</guid><dc:creator>arunramanathtm</dc:creator><description>&lt;p&gt;Use flatten for your&amp;nbsp;input dictinoaries ...&lt;br /&gt;I have tested .. This works fine with the below code&lt;/p&gt;
&lt;p&gt;a!forEach(&lt;br /&gt; items: a!flatten(local!x),&lt;br /&gt; expression: {&lt;br /&gt; if(contains(a!flatten(local!y),fv!item),{},{fv!item})&lt;br /&gt; }&lt;br /&gt; )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>