<?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>After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/discussions/f/integrations/6640/after-starting-a-process-from-third-party-application-by-hitting-the-service-of</link><description>After starting a process from third party application by hitting the service of the model published, how can I view the task created in an Embedded Form? I know we have a taskId created, but how do I access that value to pass to my embedded form? OriginalPostID</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/89202?ContentTypeID=1</link><pubDate>Sun, 19 Dec 2021 23:24:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:171db348-3bf5-4e4c-b781-16474a85886f</guid><dc:creator>simples0828</dc:creator><description>&lt;p&gt;&amp;nbsp;&amp;nbsp;used similar approach and i am able to get task id in most of the case, but sometime process report is slow and by the time web api triggers process and query report, entry is not added in report yet and so task id is return as null. because of this, third party getting 500 server error. Any suggestion how can i resolve this error ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26134?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 16:50:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fd2daf43-bfb9-4843-b689-dcb441b4e1af</guid><dc:creator>PhilB</dc:creator><description>Answered here: &lt;a href="https://forum.appian.com/suite/tempo/entry/e-187632"&gt;forum.appian.com/.../e-187632&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26131?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 15:56:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9b8db33b-5d97-451a-89be-5a0095f8566c</guid><dc:creator>ishaanim</dc:creator><description>I have entered the correct Process Model Name is the Context. Why is it saying Empty context passed in for the task report?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26130?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 15:39:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f5d3bff4-2f22-45e4-8709-c913808f426a</guid><dc:creator>ishaanim</dc:creator><description>[startIndex=0, batchSize=0, sort=, totalCount=0, data=, identifiers=, name=Card Activation Task Report, description=Task report, columnConfigs=, errorMessage=Empty context passed in for report Card Activation Task Report [id=16310]. (APNX-1-4156-000)] &lt;br /&gt;Getting the following error when &amp;quot;a!queryProcessAnalytics(report:cons!TASK_REPORT,contextProcessIds : {536873541})&amp;quot;&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26129?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 15:27:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:38cdd198-9122-4f7c-8288-3279424e044b</guid><dc:creator>ishaanim</dc:creator><description>Did the above step. i had chosen the wrong type before. Now, I will try to query it in Web API.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26127?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 15:21:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4dee527f-d83c-44d7-bf4b-b5453f6e0c10</guid><dc:creator>PhilB</dc:creator><description>Have you chosen the correct type of report? It needs to be a process report of type &amp;quot;Task&amp;quot; (that option is the first selection you make when creating the report). You&amp;#39;ll then need to choose &amp;quot;Tasks by Process Model&amp;quot;. Finally you&amp;#39;ll have to click on the expression editor that is next to the &amp;quot;Definition&amp;quot; field when adding new data and choose &amp;quot;id&amp;quot; under the Task Properties option.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26126?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 15:15:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fff04cc3-348d-4f1b-a062-621847a0df37</guid><dc:creator>ishaanim</dc:creator><description>Can you have a look at this screenshot!&lt;br /&gt;In definition expression editor, I am not able to find tp!id&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/problem.png"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/problem.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26125?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 15:11:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:89c151d3-6bb3-408a-b14a-7c14523da974</guid><dc:creator>PhilB</dc:creator><description>That would seem sensible... You will want to remove the default columns that are added and add one that shows the task IDs for tasks within the process - this data is selectable within the expression editor provided. Depending on your process model, this could be one or more IDs.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26124?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 15:07:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a1c3a221-23b3-4b50-92e4-61e7417f3717</guid><dc:creator>ishaanim</dc:creator><description>How to show taskId? Do I need to add new data in the process report? &lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26122?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 14:52:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fbd77411-7101-47c8-aa68-27b965c3b3a6</guid><dc:creator>PhilB</dc:creator><description>Ok - to join everything together on this question and expand on the previous one, you&amp;#39;ll need to create a process report that runs in the context of the process model that is being started and shows the task ID within that process, then create a Web API that accepts a process ID and uses a!queryProcessAnalytics() to obtain and return the task ID from the aforementioned report.&lt;br /&gt;&lt;br /&gt;The documentation you&amp;#39;ll need is linked below; you may also want to look at the task report tutorial if you&amp;#39;re struggling with a!queryProcessAnalytics().&lt;br /&gt;&lt;br /&gt;Process reports: &lt;a href="https://forum.appian.com/suite/help/7.11/Process_Reports.html"&gt;forum.appian.com/.../Process_Reports.html&lt;/a&gt;&lt;br /&gt;Web APIs: &lt;a href="https://forum.appian.com/suite/help/7.11/Web_API_Tutorial.html"&gt;forum.appian.com/.../Web_API_Tutorial.html&lt;/a&gt;&lt;br /&gt;a!queryProcessAnalytics: &lt;a href="https://forum.appian.com/suite/help/7.11/System_Functions.html#a!queryProcessAnalytics.28.29"&gt;forum.appian.com/.../System_Functions.html&lt;/a&gt;&lt;br /&gt;Task report tutorial: &lt;a href="https://forum.appian.com/suite/help/7.11/Task_Report_Tutorial.html"&gt;forum.appian.com/.../Task_Report_Tutorial.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26121?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 14:44:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:049f8e49-9800-41ba-ae81-b97ce8f954d3</guid><dc:creator>ishaanim</dc:creator><description>philb, I still am not able to do it, that&amp;#39;s why I asked the question. I want more insight to the response which I got&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26119?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 13:35:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dfd3af40-cd5e-4c62-a077-a45d6a0a9463</guid><dc:creator>PhilB</dc:creator><description>This has already been answered in your previous question: &lt;a href="https://forum.appian.com/suite/tempo/entry/e-187492"&gt;forum.appian.com/.../e-187492&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26118?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 12:03:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21ccd3e4-aec0-4b2e-bf19-f70c2ad35792</guid><dc:creator>vimalkumars</dc:creator><description>There is a custom function getActiveTaskIDsForProcess(), you can use it in your WebAPI. Here is the link to the custom function,  &lt;br /&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/type/components/item/i4BCLGOdlMUpdGVqT-RV7oRg74uEGJO5CD7RuGZM2pRXQUsb9JpSFOaxCwmf7sv/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26117?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 11:55:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d379fa66-e8be-4185-a8e7-1d2125879271</guid><dc:creator>Stefan Helzle</dc:creator><description>Yes. A process report, or portal report in pre 7.11, lets you gather data from the process executions engines. A process report is different from a tempo report. It acts as a datasource similar to a database when using queryentity().&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26116?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 11:51:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f51402d5-b68d-47a1-91d4-1f7847a6773c</guid><dc:creator>ishaanim</dc:creator><description>is it necessary to create a report? I am interested in making a WebAPI which takes in processId and returns taskId.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26115?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 11:48:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:658d72f7-bf07-4034-b9ca-2cd5704b3b7c</guid><dc:creator>Stefan Helzle</dc:creator><description>Check &lt;a href="https://forum.appian.com/suite/help/7.11/Process_Reports.html"&gt;forum.appian.com/.../Process_Reports.html&lt;/a&gt;. Then you use queryprocessanalytics() to query this report. It returns the data in any format you like, including the task id.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26113?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 11:46:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e17189e5-9af0-4893-95bc-7942e1013f57</guid><dc:creator>ishaanim</dc:creator><description>how do we do that? I have created a webAPI. How to Query task? Does querying task give us a task id or task link?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After starting a process from third party application by hitting the service of</title><link>https://community.appian.com/thread/26112?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 11:44:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:323cfe0e-1519-4128-833c-c7f10038c2c8</guid><dc:creator>Stefan Helzle</dc:creator><description>You can create a WebAPI to query tasks by the process id returned by the web service call.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>