<?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>Hi there, Try to achieve:  Compare individual attributes value within</title><link>https://community.appian.com/discussions/f/rules/3402/hi-there-try-to-achieve-compare-individual-attributes-value-within</link><description>Hi there, Try to achieve: Compare individual attributes value within same element between two CDT instances. For example, CDT[1].field1=CDT[2].field1 AND CDT[1].field2=CDT[2].field2 AND CDT[1].field3=CDT[1].field3 AND ... Method has been Tried: Use tostring</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi there,&lt;br /&gt;Try to achieve: &lt;br /&gt;Compare individual attributes value within</title><link>https://community.appian.com/thread/15796?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2015 18:35:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:252bd0fa-a437-4ba4-b97a-558600b4977a</guid><dc:creator>henryd</dc:creator><description>Sorry for late response.&lt;br /&gt;It works using straight comparison: if cdt[1]=cdt[2] if you find if cdt level value changed.&lt;br /&gt;The inital proposal of my post works well if there are no any CDT attribute contains wiht comma (&amp;quot;,&amp;quot;) characters since it will mismatch numbers of attributes between CDT instances.  So, I still don&amp;#39;t find ideal solution for my requirement.&lt;br /&gt;Thanks/Henry&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi there,&lt;br /&gt;Try to achieve: &lt;br /&gt;Compare individual attributes value within</title><link>https://community.appian.com/thread/15794?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2015 18:12:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d73c4ac3-8046-4395-a724-7a5ffa84b5d3</guid><dc:creator>mohammads</dc:creator><description>You can utilize difference() function (&lt;a href="https://forum.appian.com/suite/help/7.8/Set_Functions.html#difference.28.29)"&gt;forum.appian.com/.../Set_Functions.html&lt;/a&gt; to compare CDTs. Just adding if some one lands here for solution.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi there,&lt;br /&gt;Try to achieve: &lt;br /&gt;Compare individual attributes value within</title><link>https://community.appian.com/thread/15536?ContentTypeID=1</link><pubDate>Wed, 25 Feb 2015 22:55:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f3e50e5-2e6d-49f5-b023-0c41dfbb9247</guid><dc:creator>stephanek</dc:creator><description>Hi henryd , can you suggest me how you solve this ? it might help me in solving a requirement i have. thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi there,&lt;br /&gt;Try to achieve: &lt;br /&gt;Compare individual attributes value within</title><link>https://community.appian.com/thread/15521?ContentTypeID=1</link><pubDate>Wed, 25 Feb 2015 08:11:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:78a01959-463b-4f97-8a46-fd71268c58dc</guid><dc:creator>jegadeeswaran</dc:creator><description>Henry... Please share the solution if you got one.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi there,&lt;br /&gt;Try to achieve: &lt;br /&gt;Compare individual attributes value within</title><link>https://community.appian.com/thread/15519?ContentTypeID=1</link><pubDate>Wed, 25 Feb 2015 07:49:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d253b948-2b61-4bc1-9e4d-fb5236962a5e</guid><dc:creator>jegadeeswaran</dc:creator><description>Hi Tim, Did you achieve your expected result if so could you please share how you did it... I do have same requirement.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi there,&lt;br /&gt;Try to achieve: &lt;br /&gt;Compare individual attributes value within</title><link>https://community.appian.com/thread/11891?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2014 13:35:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:29c9bf7b-1da4-4956-a040-be981ed8d6ee</guid><dc:creator>Tim</dc:creator><description>Hi Henry, it does look like this is possible:&lt;br /&gt;=with(&lt;br /&gt;  local!cdt: {{id:1, desc: &amp;quot;A&amp;quot;}, {id:1, desc: &amp;quot;B&amp;quot;}},&lt;br /&gt;  a!textField(&lt;br /&gt;    value: local!cdt[1]=local!cdt[2]&lt;br /&gt;  )&lt;br /&gt;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi there,&lt;br /&gt;Try to achieve: &lt;br /&gt;Compare individual attributes value within</title><link>https://community.appian.com/thread/11874?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2014 19:25:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ae31e63-dcc1-4b89-b3cf-2af6fed64f01</guid><dc:creator>henryd</dc:creator><description>Hi Tim,&lt;br /&gt;&lt;br /&gt;I am trying to track if any elemet values of CDT changed after numbers of processes executed.  At end of process, I would find out that if I need to update database with this CDT if any of its element values have been changed, otherwise, do not update database.  I was not sure that there is a generic straight way to do this: CDT[1]=CDT[2] comparison.&lt;br /&gt;&lt;br /&gt;Thanks/Henry&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi there,&lt;br /&gt;Try to achieve: &lt;br /&gt;Compare individual attributes value within</title><link>https://community.appian.com/thread/11872?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2014 18:56:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a63debf-117b-4046-a631-5947556de2e2</guid><dc:creator>Tim</dc:creator><description>Have you tried the default AND() function? What is it you are trying to achieve?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>