<?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>Is it possible to retrieve the tp!id (task id) from a task when its assigned?  I</title><link>https://community.appian.com/discussions/f/process/5070/is-it-possible-to-retrieve-the-tp-id-task-id-from-a-task-when-its-assigned-i</link><description>Is it possible to retrieve the tp!id (task id) from a task when its assigned? I have an ac value &amp;quot;taskid&amp;quot; where I am assigning the value as tp!id and saving off into pv!taskid all on the input. I need the task Id to pass to a notifications sub-process</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is it possible to retrieve the tp!id (task id) from a task when its assigned?  I</title><link>https://community.appian.com/thread/18788?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 20:00:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:652d9c17-45ac-4809-b2f7-abb9bea307b5</guid><dc:creator>Stefan Helzle</dc:creator><description>When you want to send a message in an escalation the tp!id is not available. But tp!name is and can be used to determine the taskid using process analytics. PVs are populated on task completion only.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to retrieve the tp!id (task id) from a task when its assigned?  I</title><link>https://community.appian.com/thread/18785?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 18:56:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3b4d4945-29f1-4c06-9b5d-a0270988c85a</guid><dc:creator>thoward</dc:creator><description>You are correct. The tp!ID is created, but is not saved back to the pv! (whether specificed in the Input or Output) until the task is submitted.  I would suggest creating an Escalation and pass the tp!id to your Notification process using a Message Event.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to retrieve the tp!id (task id) from a task when its assigned?  I</title><link>https://community.appian.com/thread/18754?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 10:08:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f561f82e-3f61-4718-a380-3dcb2064af0a</guid><dc:creator>Stefan Helzle</dc:creator><description>I recently implemented that in a project. In an escalation I send a message to start a process. As parameter the process expects the taskname. As the message already contains the process id of the sender it is quite easy to get the task id using a portal task report. You could even create a custom rule which uses queryprocessanalytics to do that in case you need the taskid directly.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to retrieve the tp!id (task id) from a task when its assigned?  I</title><link>https://community.appian.com/thread/18746?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 07:34:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8115f46d-c8aa-4466-9617-8a212ac1eff1</guid><dc:creator>praveenj</dc:creator><description>Mike, attached is the snap shot of a mocked up solution you might be interested in. &lt;br /&gt;&lt;br /&gt;The key to this solution is a plugin developed by Appian PS team which provides a function/expression to query a task id based on a process id and a task name. Once you can get the task id, you can construct the url like this... rule!APN_getSiteUrl() &amp;amp; &amp;quot;tempo/tasks/task/&amp;quot; &amp;amp; pv!taskId&lt;br /&gt;&lt;br /&gt;I have submitted that &amp;quot;Get Process Task ID&amp;quot; plugin to shared component and hopefully should be available soon once approved.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/14/User-Notification-with-task-id.png"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/14/User-Notification-with-task-id.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to retrieve the tp!id (task id) from a task when its assigned?  I</title><link>https://community.appian.com/thread/18720?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 01:04:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3da5b6e2-6e0d-4a88-8fdb-3f6f36700f68</guid><dc:creator>mikec</dc:creator><description>Thanks everyone&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to retrieve the tp!id (task id) from a task when its assigned?  I</title><link>https://community.appian.com/thread/18717?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 00:54:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c135a4b-ed76-4c4d-8439-900329e566e9</guid><dc:creator>Richard</dc:creator><description>You can also query process analytics for current task ID before the task is completed in a parallel flow and use that to trigger notification if you want a more tailored solution than Escalations and Exceptions offer.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to retrieve the tp!id (task id) from a task when its assigned?  I</title><link>https://community.appian.com/thread/18713?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 00:28:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:194a72b3-7683-4f84-abe0-414a5b09a420</guid><dc:creator>Margaret Haymann</dc:creator><description>Mike pv&amp;#39;s do not get populated until the node(smart service) has been submitted   One way to accomplish this is to setup an exception timer and loop back to the task with an email notification before reassigning the task&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>