<?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 retrieve the value of all constants in an environment?</title><link>https://community.appian.com/discussions/f/general/13042/how-to-retrieve-the-value-of-all-constants-in-an-environment</link><description>Hello community, 
 
 As per a business process that will soon be implemented, it will be required to log the value of all the constants in an environment prior and after change deployments. Is there a way to systematically retrieve the value of all constants</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to retrieve the value of all constants in an environment?</title><link>https://community.appian.com/thread/61283?ContentTypeID=1</link><pubDate>Sat, 06 Oct 2018 05:10:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:be1799d8-250a-4e4f-8522-7c55538e23fd</guid><dc:creator>vishnuv</dc:creator><description>Hi,&lt;br /&gt;
You may also refer to the post for some idea--&amp;gt; &lt;a href="https://community.appian.com/discussions/f/general/11656/how-to-get-data-types-of-all-constants-in-your-environment-or-can-we-fetch-all-constant-of-specific-data-type-in-appian/51356#51356"&gt;community.appian.com/.../51356&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve the value of all constants in an environment?</title><link>https://community.appian.com/thread/61280?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 19:54:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8639dd5b-d6f7-43a1-bf40-e29170fac5ed</guid><dc:creator>oscarb0003</dc:creator><description>That&amp;#39;s what I ended up doing, then on powershell I ran a script to parse and extract the constant&amp;#39;s value and output the key value pairs to a csv file.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve the value of all constants in an environment?</title><link>https://community.appian.com/thread/61239?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 14:35:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:395d84ce-1794-42ed-ba77-d604e40808b7</guid><dc:creator>laurenc20</dc:creator><description>I do not know of a way to do this through Appian without some development but you could add them all to one app and export them which would give you the files and names with all the constants&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve the value of all constants in an environment?</title><link>https://community.appian.com/thread/58804?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 01:23:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:310356b9-79eb-4ab4-ba4c-38101e45d9e3</guid><dc:creator>sahithip120</dc:creator><description>Hi Oscar,&lt;br /&gt;
I don&amp;#39;t think there is any OOB functionality to achieve this. As suggested by Jose try using custom plugin to achieve this functionality.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve the value of all constants in an environment?</title><link>https://community.appian.com/thread/58780?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 13:30:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cf03a3e0-a6f8-486d-a052-16385b432e00</guid><dc:creator>oscarb0003</dc:creator><description>Thanks but they would like to avoid adding more plugins to the environments. Ideally this should be done with OOO functionality.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve the value of all constants in an environment?</title><link>https://community.appian.com/thread/58741?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 21:58:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f58e7cb-567a-488a-9556-73091f19d276</guid><dc:creator>josep</dc:creator><description>&lt;p&gt;Hello Oscar, &lt;br /&gt; &lt;br /&gt; Depending on which version are you, Maybe this functions can help you in your requirement &lt;br /&gt; &lt;br /&gt; Custom Content Functions has the fn!getConstantsFromFolder: Returns constants from a folder&lt;br /&gt; &lt;a href="https://forum.appian.com/suite/sites/shared-components/page/shared-components/record/lMBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUheigLnP0HseAqr85fQ4C2iA26S3m6XdDfQ/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; Constant Utilities has the fn!getconstantobjectbyname&lt;br /&gt; &lt;a href="https://forum.appian.com/suite/sites/shared-components/page/shared-components/record/lMBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUh-ukLnN-aRltGE1b_HJ-Zwp9QIXEMpwCPQ/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;br /&gt;&lt;br /&gt; Get Constant By Name has the function PCF_getConstantByName&lt;br /&gt; &lt;a href="https://forum.appian.com/suite/sites/shared-components/page/shared-components/record/lMBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUhuOmLnMUIbEY3UiZIpFgSRrb8sITUpWUJg/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; Hope this helps &lt;br /&gt; &lt;br /&gt; Jose&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve the value of all constants in an environment?</title><link>https://community.appian.com/thread/58740?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 21:18:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a4a9a374-9d39-40e9-9a49-a9486e72590c</guid><dc:creator>oscarb0003</dc:creator><description>Update: I tried exporting all of the environment&amp;#39;s constants into a patch file, then I created a powershell script to parse the xml files and retrieve the constant&amp;#39;s name and value then store it into a file. While this achieves the final purpose, I don&amp;#39;t know yet if it will pass business requirements. Ideally this process should be done entirely in Appian.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve the value of all constants in an environment?</title><link>https://community.appian.com/thread/58724?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 17:06:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:be0ad8d4-1482-4d7a-8b6a-89920c05a3e9</guid><dc:creator>oscarb0003</dc:creator><description>Thank you for the response, I think this could work to an extent but I don&amp;#39;t know if I&amp;#39;ll be able to create a table for this purpose. The requirement is to export all the constants across the board not a subset.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve the value of all constants in an environment?</title><link>https://community.appian.com/thread/58723?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 17:03:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21235828-2f5f-4e9d-80c8-720af5eda58a</guid><dc:creator>chandu</dc:creator><description>Hi Oscarb,&lt;br /&gt;
Assuming that you know the constant names, then what you can do is like Create a process model to store the constant values in Process variables and then persist these details into DB. &lt;br /&gt;
Need to check how programatically we need the list of all constants available in Environment.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>