<?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>Customizing Task Assigned Emails</title><link>https://community.appian.com/discussions/f/new-to-appian/18937/customizing-task-assigned-emails</link><description>Hey All, 
 I was wondering if there was a way in which I could customize the following default email that Appian sends out notifying a task has been assigned?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Customizing Task Assigned Emails</title><link>https://community.appian.com/thread/79308?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 23:21:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:46f54814-62c8-4900-b6ad-06f4654d1099</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Yeah unfortunately that part isn&amp;#39;t any easier - you would still have to either send everyone to the same site or replicate the logic in the user start pages to determine which groups can see which pages.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Customizing Task Assigned Emails</title><link>https://community.appian.com/thread/79305?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 17:44:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ad3afe1c-7d08-4466-b6c4-b2dc09e013d2</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Ok so... in a process instance, how would we determine the site context for the user being assigned the task?&amp;nbsp; Is there any way other than using cumbersome and unintuitive work-arounds?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Customizing Task Assigned Emails</title><link>https://community.appian.com/thread/79304?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 17:35:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c557d7fc-5d54-42f8-b6d9-f4e52b25d2b5</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;&lt;a href="/members/mikes0011"&gt;Mike Schmitt&lt;/a&gt; to your question on returning a sites-specific link, there is an extra parameter in a!urlForTask() that determines whether it determines the full Tempo URL or only the last path segment (which basically determines the task unique identifier). If you&amp;nbsp;have the function only return that identifier, you can append it to the end of your site URL like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;concat(
  &amp;quot;&amp;lt;env url&amp;gt;/suite/sites/&amp;lt;site name&amp;gt;/page/&amp;lt;site page name&amp;gt;/task/&amp;quot;,
  a!urlForTask(
    taskIds: ri!taskId,
    returnTaskPathOnly: true
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Customizing Task Assigned Emails</title><link>https://community.appian.com/thread/79299?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 15:28:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ff24e23c-c730-461f-a771-17e7c4c99cba</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Hi  - it&amp;#39;s doable but takes a bit of a workaround.&amp;nbsp; Basically you would split the process flow using an AND gateway; on one path, launch the task as normal.&amp;nbsp; On the other path - possibly behind a short (10 second) timer to ensure the task is launched first - use a!queryProcessAnalytics into a Process Instance report pointing to your process model and process ID, where the result of the QPA call is the Task ID.&amp;nbsp; After that, you could simply generate the URL using the task ID and send it in an email formatted as you wish.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Customizing Task Assigned Emails</title><link>https://community.appian.com/thread/79298?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 15:24:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2832beb1-e7e1-40da-a1c0-f6f510fbbe85</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Does &lt;em&gt;a!urlForTask()&lt;/em&gt; have any particular way at this point to return a sites-specific link?&amp;nbsp; When I run it within a blank expression rule editor, it returns a link to Tempo, which of course might not be acceptable for certain implementations.&amp;nbsp; I don&amp;#39;t know what happens when the rule is run from within a Sites interface, but when run during a process flow I have to assume it would also generate the Tempo link, no?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Customizing Task Assigned Emails</title><link>https://community.appian.com/thread/79290?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 14:04:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26f7f342-0264-40be-9a06-e6c0e5351470</guid><dc:creator>Kiara Shakaj</dc:creator><description>&lt;p&gt;Hi Pedro,&lt;/p&gt;
&lt;p&gt;I am using Appian 20.3, so I can use the function a!urlfortask(). My problem is that I do not know how to run the task(which ID I am gonna use) and email node on the same time. Or is there a way to run the task only from the email not from the original user input task?&lt;/p&gt;
&lt;p&gt;Thank you in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Customizing Task Assigned Emails</title><link>https://community.appian.com/thread/79289?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 13:51:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e4dc6999-bfe3-420b-96db-498191f4cdbf</guid><dc:creator>Pedro Sim&amp;#245;es</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;It really depends on the Appian version.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;a!urlfortask()&amp;nbsp;&lt;/strong&gt;was introduced quite recently and should be the way to obtain the URL for a particular task. Once you have that URL, you can include a reference to it in a template used by the Send Email smart service.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/20.3/fnc_scripting_a_urlfortask.html"&gt;https://docs.appian.com/suite/help/20.3/fnc_scripting_a_urlfortask.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Customizing Task Assigned Emails</title><link>https://community.appian.com/thread/79287?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 11:15:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6924b411-6f7a-4d7a-98dc-6a744b075a0d</guid><dc:creator>Kiara Shakaj</dc:creator><description>&lt;p&gt;What is the best way to get the link generated from the User Input Task and to integrate it on the&amp;nbsp;&lt;span&gt;Send Email smart service/task?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Customizing Task Assigned Emails</title><link>https://community.appian.com/thread/74413?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 17:35:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa9ed245-5d40-4e0b-889a-bed5d295323c</guid><dc:creator>Robert Shankin</dc:creator><description>&lt;p&gt;I believe the most common approach to this use case is to turn off the email sent by default from the assignments tab on the user input task.&lt;/p&gt;
&lt;p&gt;as you flow into the user input task flow through a Send Email smart service/task and configure a message to suit your needs.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/90rOXn0LSC.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>