<?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 all, I have CDT where one of the parameter in it&amp;#39;s fiels name have &amp;</title><link>https://community.appian.com/discussions/f/rules/350/hi-all-i-have-cdt-where-one-of-the-parameter-in-it-s-fiels-name-have</link><description>Hi all, I have CDT where one of the parameter in it&amp;#39;s fiels name have &amp;quot;-&amp;quot;. Now when I use expression ( query ) rule to read data from it ( previously I save data using it in SQL without Problem.So is there any recommended way to redefine it and replace</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi all,&lt;br /&gt;I have CDT where one of the parameter in it's fiels name have &amp;</title><link>https://community.appian.com/thread/1006?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2012 19:08:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:93e3bffd-6cb1-4ac5-aa25-862f00b9e96d</guid><dc:creator>stacey.wright</dc:creator><description>Also, can you give me the output of one object if you do not get this sub-attribute?  So, just the following?:&lt;br /&gt; rule!ContractTypeDetails2 ( ri!Company ) [ 1 ]&lt;br /&gt;&lt;br /&gt;I&amp;#39;d like to see if it gets returned as Signatory-Level1; I&amp;#39;m assuming it does.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi all,&lt;br /&gt;I have CDT where one of the parameter in it's fiels name have &amp;</title><link>https://community.appian.com/thread/1005?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2012 19:07:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6c0aec8d-ad70-4d63-b9d8-54bdbbae91fa</guid><dc:creator>stacey.wright</dc:creator><description>Have you tried putting your field within single quotes?:&lt;br /&gt;rule!ContractTypeDetails2 ( ri!Company ) [ 1 ] .&amp;#39;Signatory-Level1&amp;#39;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi all,&lt;br /&gt;I have CDT where one of the parameter in it's fiels name have &amp;</title><link>https://community.appian.com/thread/995?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2012 13:29:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c912ad0-29dc-4630-aafc-1162c6dc3812</guid><dc:creator>natasav</dc:creator><description>I just sow. Apply() is new expression function implemented in Appian 6.7 and I still have Appian 6.6.0. Am I right? Any other suggestion?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi all,&lt;br /&gt;I have CDT where one of the parameter in it's fiels name have &amp;</title><link>https://community.appian.com/thread/994?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2012 12:21:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cde3955a-fee9-4c49-ade5-25e4245de90d</guid><dc:creator>natasav</dc:creator><description>Sorry I can not find apply expression. Let me say what I did maybe I did not understand you correctly or maybe I did not explain my problem correctly.&lt;br /&gt;I have following rule create (or when I try to created it);&lt;br /&gt;= rule!ContractTypeDetails2 ( ri!Company ) [ lookup ( rule!ContractTypeDetails2 ( ri!Company ) .TypeName , ri!typename , 1 ) ] .Signatory-Level1&lt;br /&gt;where  ContractTypeDetails2 is the query rule.&lt;br /&gt;But when I even try to test it before even save it following error appear:&lt;br /&gt;The rule contains an expression that cannot be tested:&lt;br /&gt;!isignatory, !level1&lt;br /&gt;I create new rule as you suggested :&lt;br /&gt;SubsistuteUnsupportedsymbols and redefine the rule but same problem.&lt;br /&gt;= rule!ContractTypeDetails2 ( ri!Company ) [ lookup ( rule!ContractTypeDetails2 ( ri!Company ) .TypeName , ri!typename , 1 ) ] .SubsistuteUnsupportedsymbols(ISignatory-Level1)&lt;br /&gt;Any new ideas or suggestions.&lt;br /&gt;&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi all,&lt;br /&gt;I have CDT where one of the parameter in it's fiels name have &amp;</title><link>https://community.appian.com/thread/987?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2012 01:56:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2f538b6c-65ec-485b-ac2f-1e0ced259b9c</guid><dc:creator>Bishnu Panigrahi</dc:creator><description>Here&amp;#39;s one method: You can create an expression rule using the substitute function: substitute(ri!string,&amp;quot;-&amp;quot;,&amp;quot;_&amp;quot;)&lt;br /&gt;Then after querying the database and saving the result into a pv!, you can use the apply function to change the hashes to underscores: apply(rule!ruleName,pv!cdtName.strings)&lt;br /&gt;&lt;br /&gt;&lt;a href="https://forum.appian.com/suite/wiki/67/Text_Functions#substitute.28.29"&gt;forum.appian.com/.../Text_Functions&lt;/a&gt;&lt;br /&gt;&lt;a href="https://forum.appian.com/suite/wiki/67/Looping_Functions#apply"&gt;forum.appian.com/.../Looping_Functions&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>