<?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>URL in Send Email Smart Service</title><link>https://community.appian.com/discussions/f/general/39939/url-in-send-email-smart-service</link><description>I have scenario where, I need a link in email body, this link should open a current task for which we have different process model and interface, 
 but I want to open that task in current step once I click on the link from email. How can I achieve that</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: URL in Send Email Smart Service</title><link>https://community.appian.com/thread/152470?ContentTypeID=1</link><pubDate>Tue, 18 Nov 2025 16:46:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef757f89-16ab-4482-b962-2caf3b918333</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;And the normal task assignment email is not ok?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: URL in Send Email Smart Service</title><link>https://community.appian.com/thread/152469?ContentTypeID=1</link><pubDate>Tue, 18 Nov 2025 15:53:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6ab52fbc-b8d8-489b-91b0-55b2fa943833</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Use &lt;a href="https://docs.appian.com/suite/help/25.4/fnc_scripting_a_urlfortask.html"&gt;a!urlForTask()&lt;/a&gt; to generate the task URL and include it in your email body.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: URL in Send Email Smart Service</title><link>https://community.appian.com/thread/152468?ContentTypeID=1</link><pubDate>Tue, 18 Nov 2025 14:50:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b758ef6c-237b-4b22-87aa-8d0b98dd2857</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;You can use html tag &amp;lt;a href&amp;gt; to embed Appian task link in the email. You will need the taskId of the task handy in a pv within the process.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;a href=&amp;quot;taskurlFromAppian&amp;quot;&amp;gt;Task Label in email!&amp;lt;/a&amp;gt;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;For&amp;nbsp;&lt;em&gt;taskurlFromAppian&lt;/em&gt; you can use&amp;nbsp;a!urlfortask(taskIds:taskIds)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: URL in Send Email Smart Service</title><link>https://community.appian.com/thread/152467?ContentTypeID=1</link><pubDate>Tue, 18 Nov 2025 14:49:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:becae898-bbd0-4903-9797-712983a9f7e2</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;That highly depends on what you mean by things like &amp;quot;open a current task&amp;quot;, &amp;quot;different process model and interface&amp;quot;, and &amp;quot;open task in current step&amp;quot;.&lt;/p&gt;
&lt;p&gt;In an email you&amp;#39;re going to be able to pretty much send a static URL that you can have Appian create for you - our choices are pretty much limited to &amp;quot;task link&amp;quot; for use cases like this.&amp;nbsp; It&amp;#39;ll be a little tricky to even get the task instance ID to formulate the taks link within a process instance (you&amp;#39;ll have to use query process analytics for the current process instance, and perhaps task name too if there&amp;#39;s more than one task in the process model), but this should be achievable if you really need it.&amp;nbsp; But that link will just go to the task in whatever state someone would already be opening it if they clicked it from within Appian - there&amp;#39;s not really much other way around this, other than making sure it&amp;#39;s&amp;nbsp;&lt;em&gt;&lt;strong&gt;already&lt;/strong&gt;&lt;/em&gt; in the state you want the user to find it in upon clicking their link.&lt;/p&gt;
&lt;p&gt;FWIW, i find it quite a bit easier to just list the general login link in the email and ask the user to look in their task list once they&amp;#39;re on their main site landing page.&amp;nbsp; That way an email doesn&amp;#39;t have a link to a specific task instance that goes stale as soon as that particular task instance is submitted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>