<?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>How to implement a &amp;quot;set&amp;quot; data structure in appian?</title><link>https://community.appian.com/discussions/f/process/21817/how-to-implement-a-set-data-structure-in-appian</link><description>Hello, 
 I would like to implement a &amp;quot;set&amp;quot; data structure in appian. 
 My use case prefers a &amp;quot;set&amp;quot; data structure as opposed to a list or dictionaries, because a set only contains unique values, or in my use case, unique sets. 
 I tried to search in the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to implement a "set" data structure in appian?</title><link>https://community.appian.com/thread/85471?ContentTypeID=1</link><pubDate>Sat, 04 Sep 2021 11:02:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:95fe03f1-053c-453b-81b5-cdb8b4f24390</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What is the purpose? I mean, the functional requirement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to implement a "set" data structure in appian?</title><link>https://community.appian.com/thread/85467?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 16:19:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f3a1a98-72be-4345-ac77-659dd4202b8d</guid><dc:creator>Josh</dc:creator><description>&lt;p&gt;I don&amp;#39;t think there is a set data structure per-se, but you could implement one using a simple rule that takes in your set and the values you are trying to insert (you may need to augment the example for more robust error handling and edge cases) and returns the resulting set:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;union(
  ri!existingSet,
  ri!dataToInsert
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>