<?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 get application name from deployment uuid?</title><link>https://community.appian.com/discussions/f/general/34361/how-to-get-application-name-from-deployment-uuid</link><description>As part of my requirement, I need to get application name by passing deployment uuid. I am trying a!deployment(uuid,&amp;quot;application&amp;quot;) which is returning application id and name which is of type application. 
 I am not able to cast the application type object</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to get application name from deployment uuid?</title><link>https://community.appian.com/thread/131313?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2024 15:17:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f52c5742-c827-4a01-8c30-86b5fd19f45d</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;And since Content Tools still (stupidly) just returns a flat string instead of dictionary/map/json, for some reason, we need to manually &lt;em&gt;&lt;strong&gt;extract()&lt;/strong&gt;&lt;/em&gt; the name from the result:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1710515863074v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get application name from deployment uuid?</title><link>https://community.appian.com/thread/131312?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2024 15:15:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f93994dd-a942-4981-b1f1-f6aa22e94a1e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;oh good point - i forgot about the content object details function.&amp;nbsp; to simplify this a bit you can just wrap the output of a!deployment in &amp;quot;toInteger()&amp;quot; to pass into the content object by ID function.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1710515754176v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get application name from deployment uuid?</title><link>https://community.appian.com/thread/131281?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2024 22:23:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:383f3e4a-9eee-4cf7-a8ca-848a434d15c7</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;You cant try with this&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;a!localVariables(&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;local!tmp: a!deployment(&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;quot;cea12087-316a-4747-8b5a-8ff30e81e0fd&amp;quot;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;quot;applications&amp;quot;),&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;local!idApp: cast(1,index(local!tmp,1)),&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;fn!getcontentobjectdetailsbyid(local!idApp)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Where you will receive all details about the application (or apps) included in the package&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get application name from deployment uuid?</title><link>https://community.appian.com/thread/131277?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2024 20:13:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9f93dee-181e-42fd-b592-90ba1a68b1f2</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;it looks like you might have more luck calling the &amp;quot;name&amp;quot; property in a!deployment.&amp;nbsp; It appears to output the entire &amp;quot;package name&amp;quot; (i.e. app &amp;amp; package plus time of deployment, as opposed to just the application name) but might be as close as you&amp;#39;re gonna get here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get application name from deployment uuid?</title><link>https://community.appian.com/thread/131276?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2024 20:11:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:06345d60-9fd6-479f-b475-286c7e706f0f</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;ironically, wrapping the output of a!deployment in tostring() removes the rendered application name and just displays the application&amp;#39;s internal ID, like &amp;quot;[Application:12345]&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1710447098439v1.png" alt=" " /&gt;&lt;/p&gt;
[quote userid="274702" url="~/discussions/f/general/34361/how-to-get-application-name-from-deployment-uuid/131274"]Did you try tostring()?[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get application name from deployment uuid?</title><link>https://community.appian.com/thread/131274?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2024 20:02:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96ce5c10-bfdf-4ca3-b138-7ddc557d3b5f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Did you try tostring()?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>