<?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 name and link of environment (Test/Dev/Pro) that using</title><link>https://community.appian.com/discussions/f/general/26130/how-to-get-name-and-link-of-environment-test-dev-pro-that-using</link><description>Hi everyone, 
 How to get name and link of environment (Test/Dev/Pro) that using 
 
 Thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to get name and link of environment (Test/Dev/Pro) that using</title><link>https://community.appian.com/thread/102456?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 17:52:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e61d63c1-ce44-4461-96dc-69e6c98222eb</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;The requirement is to get the environment URL.&amp;nbsp; Given the output of a!urlForTasks, I&amp;#39;d say it should be fine and you just need to extract the output, like the following:&lt;br /&gt;&lt;pre class="ui-code" data-mode="java"&gt;extract(
  &amp;quot;&amp;lt;&amp;lt;&amp;quot; &amp;amp; a!urlForTask(taskIds: -1, returnTaskPathOnly: false),
  &amp;quot;&amp;lt;&amp;lt;&amp;quot;,
  &amp;quot;/tempo&amp;quot;
)[1]&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get name and link of environment (Test/Dev/Pro) that using</title><link>https://community.appian.com/thread/102455?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 17:51:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:362ace53-73ba-4fc8-b8c0-b2c1b54a02f1</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I don&amp;#39;t like this method very much, since the environment-specific constant exists.&amp;nbsp; However if it&amp;#39;s absolutely critical that you use a &amp;quot;dynamic&amp;quot; approach like this, i&amp;#39;d just use &amp;quot;extract&amp;quot; instead of fiddling with left() and search() etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get name and link of environment (Test/Dev/Pro) that using</title><link>https://community.appian.com/thread/102424?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 07:06:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:361ef7de-63b4-4868-802a-a8623ba6e31f</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;I am not sure about your requirement but the link is taking us to the task tempo sections.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get name and link of environment (Test/Dev/Pro) that using</title><link>https://community.appian.com/thread/102423?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 06:56:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9fca1f6d-07dc-4843-b339-238f2dbe555f</guid><dc:creator>ojask2243</dc:creator><description>&lt;p&gt;I try&amp;nbsp; to use a simple way that using function&amp;nbsp;&lt;span&gt;a!urlForTask&lt;/span&gt;&lt;/p&gt;
&lt;div class="eJOY__extension_root_class" id="eJOY__extension_root"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get name and link of environment (Test/Dev/Pro) that using</title><link>https://community.appian.com/thread/102422?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 06:53:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b36f069-5ee9-4146-8042-fe24b8719c89</guid><dc:creator>ojask2243</dc:creator><description>&lt;p&gt;thanks you.&lt;/p&gt;
&lt;p&gt;I find another solution that&lt;/p&gt;
&lt;div class="ui-box er ds es dw dx et eu ev ew ex ey ez fb fd fe ff fg fh fi fj fk fl fm fn fo"&gt;
&lt;div class="ui-box ap"&gt;
&lt;ul class="ms-FocusZone ui-chat eo fz ga gb gc cn cq gd ge fq gf fs gg gh gi gj dr gk"&gt;
&lt;li class="ui-chat__item gi ap gl gm gn go gp gq gr gs gt gu gv gw gx gy gz ui-chat__item--message"&gt;
&lt;div class="ui-box ho ap hp hq ui-chat__item__message"&gt;
&lt;div class="ui-box hr hs"&gt;
&lt;div class="ms-FocusZone ui-chat__message hv hw hx ap hy hz ia ib ic id ie if ig ih ii ij ik il im in io ip iq ir is it iu iv iw ix iy iz ja jb jc jd je jf jg jh ji jj jk jl jm jn jo jp jq jr js jt ju jv jw jx jy jz hr ka kb kc kd ke kf kg fz ga gb gc ki kj kk kl km kn ko kp kq kr ks kt ku kv kw kx ky kz la lb lc ld ui-animation ht hu db focused"&gt;
&lt;div class="ui-box lq dx ln dc lr ls lt lu lv lt lw lx ly lz ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu mv mw mx my mz na nb nc nd ne nf ng nh ni nj nk nl nm nn no np nq nr ns nt nu nv nw nx ny nz oa ob oc od oe of og oh oi oj ok ol om on oo op oq or os ot ou ov ow ox oy oz pa pb pc pd pe pf pg ph pi pj pk pl pm pn po pp pq pr ps pt pu pv pw px py pz qa qb qc qd qe qf qg qh qi qj qk ql qm qn qo qp qq qr qs qt qu qv qw qx qy qz ra rb rc rd re rf rg rh ri rj rk rl rm rn ro rp rq rr rs rt ru rv rw rx ry rz sa sb sc sd se sf sg sh si sj sk sl sm sn so sp sq sr ss st su sv sw sx sy sz ta tb tc td te tf tg th dr ti tj tk tl tm tn to tp tq tr ts tt tu tv tw tx ty tz ua ub uc ud ue uf ug uh ui uj uk ul um un uo up uq ur us ut uu uv uw ux uy uz va vb vc vd ve vf vg vh vi vj vk vl vm vn vo vp vq vr vs vt vu vv vw vx vy vz wa wb wc wd we wf wg wh wi wj wk wl wm wn wo wp wq wr ws wt wu wv ww wx wy wz xa xb xc xd xe xf xg xh xi xj xk xl xm xn xo xp xq xr xs xt xu xv xw xx xy xz ya yb yc yd ye yf yg yh yi yj yk yl ym yn yo yp yq yr ys yt yu yv yw yx yy yz za zb zc zd ze zf zg zh zi zj zk zl zm zn zo zp zq zr zs zt zu zv zw zx zy zz aba abb abc abd abe abf abg abh abi abj abk abl abm abn abo abp abq abr abs abt abu abv abw abx aby abz aca acb acc acd ace acf acg ach aci acj ack acl acm acn aco acp acq acr acs act acu acv acw acx acy acz aea aeb aec aed aee aef ui-chat__message__content" id="content-1664952543631" dir="auto"&gt;
&lt;div&gt;
&lt;p&gt;&lt;span&gt;a!urlForTask(taskIds: -1, returnTaskPathOnly: false)&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="ui-box el afe aff afg ui-chat__item__gutter"&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="ui-box fp fq fr fs ft fu ct aht fw fx fy vl-buffer"&gt;&lt;/div&gt;
&lt;div class="ui-box el aei afy aff afg"&gt;&lt;/div&gt;
&lt;div class="ui-box el afx afy aff afg"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="ui-divider ha cn cp ll ahu gi gj he hf ahv hh ahw ge fq gf fs ahx ahy dr"&gt;&lt;/div&gt;
&lt;div class="ui-box ea eb ec ed ee ef ct eg eh ei ej ek el" id="has-context-menu"&gt;&lt;span class="ui-text" dir="auto"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class="eJOY__extension_root_class" id="eJOY__extension_root"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get name and link of environment (Test/Dev/Pro) that using</title><link>https://community.appian.com/thread/102421?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 05:59:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a5d79276-387d-4425-8e30-6664797d1afa</guid><dc:creator>laurensw</dc:creator><description>&lt;p&gt;A common method is to deploy an environment-specific constant to each environment and have the details (e.g. environment abbreviation, environment link) altered per import using the import customization file on each environment.&lt;/p&gt;
&lt;p&gt;This way you have full control over the value and it&amp;#39;s use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get name and link of environment (Test/Dev/Pro) that using</title><link>https://community.appian.com/thread/102417?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 04:24:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98e00d7d-746d-4f8a-b41a-6f3f136977f3</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;Create a expression rule as &lt;em&gt;rule!getBaseUrl()&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!url: urlforrecord(recordIds: cons!VOF_CUSTOMER_RECORD),
  /*any record type used in your application*/
  left(local!url, search(&amp;quot;/suite&amp;quot;, local!url) + 6),
  
)&lt;/pre&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;This will return the URL for the environment on which you are working or executing the rule&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get name and link of environment (Test/Dev/Pro) that using</title><link>https://community.appian.com/thread/102415?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 03:58:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4dd481be-18a9-437e-a07c-c4a130a9c140</guid><dc:creator>shalini</dc:creator><description>&lt;p&gt;What is the environment do you want? you can get community edition environment by following the belove steps. go to learn tab and then my learning journey and click on get my site .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>