<?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, I am implementing a custom servlet plug-in where I need to access few c</title><link>https://community.appian.com/discussions/f/plug-ins/1342/hi-i-am-implementing-a-custom-servlet-plug-in-where-i-need-to-access-few-c</link><description>Hi, I am implementing a custom servlet plug-in where I need to access few constants declared in Appian KDB. Is there any API for this purpose? could you please share example? Thanks. ... OriginalPostID-85168 OriginalPostID-85168</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi,&lt;br /&gt;I am implementing a custom servlet plug-in where I need to access few c</title><link>https://community.appian.com/thread/7806?ContentTypeID=1</link><pubDate>Sat, 01 Mar 2014 04:57:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9e3c39ba-cb76-4a3c-8af4-bb756da5e1b3</guid><dc:creator>prestonb</dc:creator><description>That did it! Thanks very much!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi,&lt;br /&gt;I am implementing a custom servlet plug-in where I need to access few c</title><link>https://community.appian.com/thread/7786?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2014 08:47:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e339f5b-1b6a-4a8b-ab68-0f47312e3835</guid><dc:creator>Eduardo Fuentes</dc:creator><description>You need appian-process.jar in your build path for compilation ONLY. DO NOT include it in the final plug-in JAR&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi,&lt;br /&gt;I am implementing a custom servlet plug-in where I need to access few c</title><link>https://community.appian.com/thread/7780?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2014 21:01:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f654fc08-3dfd-45ae-a9f3-ace387e60f3c</guid><dc:creator>prestonb</dc:creator><description>So I tried this out and Eclipse is complaining that: &lt;br /&gt;&lt;br /&gt;&amp;quot;The method evaluateExpression(String) from the type ProcessDesignService refers to the missing type ExpressionEvaluationException&amp;quot;&lt;br /&gt;&lt;br /&gt;What .jar file do I need on my build path to resolve that? Or is this just an error I can safely ignore?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi,&lt;br /&gt;I am implementing a custom servlet plug-in where I need to access few c</title><link>https://community.appian.com/thread/4799?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2013 22:25:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b027f6cf-9dae-4901-b0df-8fa3d3b60ccb</guid><dc:creator>indrajita</dc:creator><description>Thanks, evaluateExpression worked great for the purpose.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi,&lt;br /&gt;I am implementing a custom servlet plug-in where I need to access few c</title><link>https://community.appian.com/thread/4676?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2013 03:29:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:42e4b06b-0ba4-44a5-97fc-d0a51b03eb35</guid><dc:creator>Eduardo Fuentes</dc:creator><description>This is an example that retrieves a constant and checks the constant is of type group. More information at &lt;a href="https://forum.appian.com/suite/wiki/73/api/com/appiancorp/suiteapi/process/ProcessDesignService.html#evaluateExpression(java.lang.String)"&gt;forum.appian.com/.../ProcessDesignService.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ProcessDesignService pds = ServiceLocator.getProcessDesignService(sc);&lt;br /&gt;TypedValue expressionResult = pds.evaluateExpression(&amp;quot;cons!CUSTOM_DESIGNERS_GROUP&amp;quot;);&lt;br /&gt;&lt;br /&gt; if (expressionResult.getInstanceType() != AppianType.GROUP) {&lt;br /&gt;        throw new Exception(&lt;br /&gt;          &amp;quot;CUSTOM_DESIGNERS_GROUP is not of the correct data type (Expecting a Group type).&amp;quot;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;....&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>