<?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 can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/discussions/f/process/609/how-can-i-get-task-id-of-a-task-that-is-assigned-to-a-user-i-can-not-use-tp-id</link><description>How can i get task id of a task that is assigned to a User, I can not use tp!id available on output, since task is not completed yet, it is just assigned? Any suggestion. Thanks... OriginalPostID-62929 OriginalPostID-62929</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/64423?ContentTypeID=1</link><pubDate>Mon, 04 Feb 2019 13:15:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:17bb18c1-bf9e-40dd-931a-30c619e96628</guid><dc:creator>amitb0004</dc:creator><description>&lt;p&gt;Hi ambrishs,&lt;/p&gt;
&lt;p&gt;Now there is following way to get the Task Id&lt;/p&gt;
&lt;p&gt;1. create constant &amp;quot;cons!MY_TASKS&amp;quot; first(ie. constant of Task Reports&amp;nbsp; )&lt;/p&gt;
&lt;p&gt;2. Then use following code to get the current task id of Approval&lt;/p&gt;
&lt;p&gt;&amp;quot;a!queryProcessAnalytics(report: cons!DDG_UserTask, contextUsers: &amp;quot;user_name&amp;quot;).data.dp0[1]&amp;quot;&lt;/p&gt;
&lt;p&gt;pass Approval username instead of &amp;quot;user_name&amp;quot; in above code, mention username to whom approval is assigning(or user input task)&lt;/p&gt;
&lt;p&gt;3. These will return you Task id of Approval and then bind with URL of Tempo or Site.&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/14/0336.task-IdUp.png"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/0336.task-IdUp.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1950?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2013 15:50:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8d95de30-bcb5-42d0-9380-974202988836</guid><dc:creator>subhankarb</dc:creator><description>@ambrish...try creating a task report and get the latest task id for each time a task is getting assigned. Now put a parallel path with respect to the UI node in which using analytics node get the latest task id and task assignee. now use send email smart service to send the task details.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1947?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2013 10:11:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:239c9e3f-e3a0-42de-847a-c0e221437d19</guid><dc:creator>shelzle</dc:creator><description>We send custom mail to our Appian users this way. An escalation on the task with timer &amp;quot;now()&amp;quot; creates an message containing the display name of the task. The message is sent to the start node of a process model and starts this process. Using the &amp;#39;msg!properties&amp;#39;.&amp;#39;OriginProcessID&amp;#39; and the task display name I do some analytics and create a mail that is sent to the user. Of course this mail can also be sent to non Appian users.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1944?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2013 05:45:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75a8d9f1-c30b-4369-a078-86d315cf01b5</guid><dc:creator>ambrishs</dc:creator><description>Thanks for suggestions.&lt;br /&gt;Escalation may not be possible in my case since I want to send email to an email address(distribution list) not an appian user. I don&amp;#39;t think we can send escalation email to that email. 1 second delay can be achieved by using current dateline+1*second() using delay until option in escalation.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1943?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2013 05:01:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:577c56b3-183f-465b-8ded-fa97985eab1a</guid><dc:creator>Mike James</dc:creator><description>Also worth noting is that the task link in the email will send the user to the &amp;#39;old&amp;#39; portal and not to tempo.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1942?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2013 01:40:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:40450eb9-0368-4700-b1d5-9b16ab4d2ff4</guid><dc:creator>David Williams</dc:creator><description>Each user can get an email sent to them when assigned to themselves or a group which has a link in the email. This can be done as part of configuration.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1941?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2013 01:20:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bf63ede8-8c0c-4e86-bf42-48e3e5f7468e</guid><dc:creator>Shaun Kilby</dc:creator><description>A good work around for a timer to go to seconds is to put a decimal number in quotes I.E. (&amp;quot;.2&amp;quot;) to get to seconds. However, using a rule for the escalation which is always true I.E. &amp;quot;True&amp;quot; then it will happen immediately.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1940?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2013 00:56:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:01aacc47-2dd8-408f-8faf-0a9482529c57</guid><dc:creator>dylanf</dc:creator><description>Also, I could be wrong, but I believe that the smallest amount of time that an escalation can be triggered is one minute after the task is initiated, so there would be some delay between assignment and the email being sent.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1939?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2013 00:54:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4531ff77-5b49-4d06-95e4-c63a71089a3a</guid><dc:creator>dylanf</dc:creator><description>I think an escalation would work well. The only thing I would mention about that is that we have had limited success for the link to the task that gets included in the email opening the task in a pop-up as opposed to within a tab in the application itself.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1938?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2013 00:05:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09528e3e-194e-4f0b-b0f5-3a7c70ea2119</guid><dc:creator>revat.anandsongkit</dc:creator><description>Have you considered using an Escalation?  &lt;a href="https://forum.appian.com/suite/wiki/71/Escalating_a_Task"&gt;forum.appian.com/.../Escalating_a_Task&lt;/a&gt;&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1937?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2013 23:59:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aaf93015-5b39-4e42-85bd-5c7b3daa789e</guid><dc:creator>ambrishs</dc:creator><description>I want to send an email once a task is assigned and email should contain link to the assigned task.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1936?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2013 23:58:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:feac4f4b-ff5d-4be9-865c-3e979a6cf339</guid><dc:creator>revat.anandsongkit</dc:creator><description>Ambrish, can you please explain your use case? Why do you need the task id?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1935?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2013 22:46:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:41aefc05-b4dd-42c4-84cf-8a0dba379554</guid><dc:creator>ambrishs</dc:creator><description>Thanks! is there any other apporach other than running report and using Analytics node?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get task id of a task that is assigned to a User, I can not use tp!id</title><link>https://community.appian.com/thread/1934?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2013 22:31:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:683916f3-534b-47e1-a967-c0f155c5f938</guid><dc:creator>Shaun Kilby</dc:creator><description>Are you looking for a specific task? or all tasks assigned to a specific user? You can try running a task report by user and add ID to the report. Then use the analytics node to retrieve the IDs.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>