<?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>Casting constnat name to constant type in Update Constnat Smart service</title><link>https://community.appian.com/discussions/f/data/35130/casting-constnat-name-to-constant-type-in-update-constnat-smart-service</link><description>Hi Champ, 
 
 I have a use case where I am getting the constnat name (in text) and I have to pass that in Update constant service. But here the issue here is I am unable to pass the constnat name dynamically there. As the name is text type and it&amp;#39;s expecting</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Casting constnat name to constant type in Update Constnat Smart service</title><link>https://community.appian.com/thread/136230?ContentTypeID=1</link><pubDate>Fri, 31 May 2024 20:44:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6feb297b-7557-4ef6-9765-58d95f4b14a9</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;This is not a good idea at all.&amp;nbsp; Constants (as well as rules, interfaces, etc) can now be re-named by any designer with sufficient editing access, and as such, if you were to work out some override in order to use this method of referencing a constant in this smart service, it would instantly break if it were ever renamed by a different designer (and there would be no warning to them or any other way to know they&amp;#39;re about to break it).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Casting constnat name to constant type in Update Constnat Smart service</title><link>https://community.appian.com/thread/136228?ContentTypeID=1</link><pubDate>Fri, 31 May 2024 19:03:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1589810e-ba81-4657-99fe-fd60b76b9f58</guid><dc:creator>Jim Schweitzer</dc:creator><description>&lt;p&gt;I had written a plugin to do this many years ago, (&amp;quot;Constant Utilities&amp;quot; - getConstantObjectByName() ) but looks like it&amp;#39;s not available on the appmarket any more. Was pretty simple implementation, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Casting constnat name to constant type in Update Constnat Smart service</title><link>https://community.appian.com/thread/136196?ContentTypeID=1</link><pubDate>Fri, 31 May 2024 13:50:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aee8cc32-addc-46f6-9c95-6e81a25d58d0</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;I&amp;#39;m sorry, but YOu won&amp;#39;t be able to do what you want.. Appian is limited in that way...IN the same way for example, you can&amp;#39;t invoque an interface or subprocess passing the name or id as a parameter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>