<?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>Get Expression rule by name</title><link>https://community.appian.com/discussions/f/rules/13897/get-expression-rule-by-name</link><description>Hi there, 
 
 does anybody know whether it possible to get an expression rule by its name? 
 Problem context: In my application (software request), I want to maintain software. Some software needs to be approved before installation. I am thinking about</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Get Expression rule by name</title><link>https://community.appian.com/thread/64271?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 15:00:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e106226f-2a75-48cd-aee8-6a62afedfa14</guid><dc:creator>Victor Bouchery</dc:creator><description>bravo! I try to store rule reference in database since a long time... thank you a lot!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get Expression rule by name</title><link>https://community.appian.com/thread/63220?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 10:15:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:91dbcc9d-875b-4b5a-88e9-701310c8a5d3</guid><dc:creator>phanthomas27</dc:creator><description>Thanks a lot for the quick answer!&lt;br /&gt;
I could test the proposed solution successfully.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get Expression rule by name</title><link>https://community.appian.com/thread/63061?ContentTypeID=1</link><pubDate>Wed, 28 Nov 2018 15:43:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:12d1afc5-39de-4389-a2f8-b63d30e811e2</guid><dc:creator>bradc0001</dc:creator><description>&lt;p&gt;I have accomplished something similar to this in the past by utilizing Appian&amp;#39;s externalize() and internalize() functions.&lt;/p&gt;
&lt;p&gt;Steps:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use externalize(rule!someExpression)
&lt;ol&gt;
&lt;li&gt;Do not put the parenthesis for your expression in this function&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Store this string in your CDT to reference later.&amp;nbsp; For this example, I would store it in ri!softwareCDT.externalizedString&lt;/li&gt;
&lt;li&gt;To call this expression: internalize(ri!softwareCDT.externalizedString)(input1: &amp;quot;ABC&amp;quot;, input2: &amp;quot;XYZ&amp;quot;)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This should execute the rule reference you have stored as a string in your CDT.&lt;/p&gt;
&lt;p&gt;There may be some extra challenges you face, but this is the basic concept.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>