<?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 to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/discussions/f/general/39288/how-to-generate-a-unique-url-that-can-be-used-to-open-a-process</link><description>Is it possible to generate a unique URL to open a process in Appian?
I would like to be able to start an Appian process instance using an API from another system, and open that process from a screen like &amp;quot;Appian process list&amp;quot; on the other system. A process</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/149109?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2025 16:08:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:41adc6d7-0c14-4535-9a01-020a9aa634eb</guid><dc:creator>takuyak0088</dc:creator><description>&lt;p&gt;Thank you for your reply.&lt;br /&gt;I found that the following requirements are unlikely to be implemented.&lt;br /&gt;- Generate a URL as a return value when executing a process using the API, and then click on that URL to open the currently active task in a new tab in the browser, regardless of the stage of the process task.&lt;/p&gt;
&lt;p&gt;I will consider whether it is possible to issue a URL and open the Appian process page in a new tab in a single action in the system that is calling the API.&lt;br /&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/149108?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2025 15:55:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e22ff116-5540-470e-a3ed-64f65f9f8ef8</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;No. Each task has a different URL.&lt;/p&gt;
&lt;p&gt;Your explanations are very good, it is just that you try to force Appian into something it is not made for. I think that there might be a solution for most of your requirements, but that takes a lot of experience, effort and development.&lt;/p&gt;
&lt;p&gt;So, I see two options. Either adapt your solution design to Appian, or invest a lot of time and money trying to force Appian into your existing solution design.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/149107?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2025 15:49:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:62435f72-6e98-4a0c-8b5a-b1580be5651a</guid><dc:creator>takuyak0088</dc:creator><description>&lt;p&gt;Also, I didn&amp;#39;t explain it well enough.&lt;br /&gt;What I meant was, even if the currently active task is different from the task that was active when the urlfortask() function was used, or different from the task specified as an argument when the urlfortask() function was used, or even if it is a task in a subprocess, is it possible to open the same task with a unique URL?&lt;br /&gt;I&amp;#39;m not a native English speaker, so please forgive me if I can&amp;#39;t explain it well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/149106?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2025 15:42:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:14626f3f-9338-4734-8418-4c03e938ee84</guid><dc:creator>Stefan Helzle</dc:creator><description>[quote userid="257691" url="~/discussions/f/general/39288/how-to-generate-a-unique-url-that-can-be-used-to-open-a-process/149103"]regardless of the stage of the process task.[/quote]
&lt;p&gt;No. The UI of a task can only be &amp;quot;opened&amp;quot; if it&amp;#39;s active.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/149105?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2025 15:39:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1a84f051-460c-44b7-9133-7a7ece38d28b</guid><dc:creator>takuyak0088</dc:creator><description>&lt;p&gt;Thank you for considering this.&lt;br /&gt;This does not appear to be an implementation for calling a task of a currently running process in a browser, but rather starts a new process each time and progresses the process to the &amp;quot;currently running task&amp;quot; managed in a database.&lt;br /&gt;There are many elements that need to be considered, such as how to link the input values ​​from the previous user input task and how to manage the progress of the process, making it complicated.&lt;br /&gt;If possible, I would like to execute this without unnecessarily increasing the number of process instances and process objects.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/149103?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2025 15:32:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bb1013a7-6ef0-4629-be3f-cb720c06a0f2</guid><dc:creator>takuyak0088</dc:creator><description>&lt;p&gt;Thanks, Harsha&lt;br /&gt;Does the method you described meet the following requirements I have stated?&lt;/p&gt;
&lt;p&gt;- Generate a URL as a return value when executing a process using the API, and then click on that URL to open the currently active task in a new tab in the browser, regardless of the stage of the process task.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/149012?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2025 07:17:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:11b41c84-6251-4bda-a93c-3c0543e59f40</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;You can create a process report to store record id and active Task id. Now with first API call you can query the process report using a!queryProcessAnalytics(). Then in API output use&amp;nbsp;a!urlfortask(taskIds:{TaskID}))&amp;nbsp;to get the Unique url for the task e.g.&lt;/p&gt;
&lt;p&gt;&amp;lt;https://&lt;em&gt;ENV_URL&lt;/em&gt;.appiancloud.com/suite/tempo/tasks/task/&lt;em&gt;taskID&lt;/em&gt;&amp;gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Clicking on this generated URL will open the task. Only issue is this opens in Appian Tempo, so if you want it to be embedded into another system itself it will need additional configuration. But if idea is to click on link and navigate to Appian to complete the task then it will work after authentication.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/149011?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2025 07:08:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8e5e8da8-2afd-4447-b4e6-c76eaf2da89b</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;Instead of using tasks its better to configure processes like cascading related processes and use a!startprocess() in the API. It can be like :&lt;/p&gt;
&lt;p&gt;1. Break your process model into smaller processes. Each sub process will have activity chained User input task as the first node and parameters to provide data from previous steps into the sub process.&lt;/p&gt;
&lt;p&gt;2. Configure web apis to start process using a!startprocess(). For the value within start process you can maintain a backend status in database storing till which UI the process is complete and what should be the next step. You can build an expression to return the process model to start depending on the request (primary key).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Example: A process model having 5 user input tasks should be break into 5 sub processes. Each process will have a UI node then automated nodes to store data, send email etc whatever process needs you have, lastly the process will end.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;External system will call the Web API by passing a record id and using the expression rule logic, web api will start process showing the expected UI and related process will commence. One link trigger from external system will complete execution for one sub-action. So each api call will be like a related action showing one UI at a time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here instead of a unique URL API will be calling unique process model depending on the last step for the record.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/149010?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2025 06:19:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef3722ed-e1a9-49b1-bced-5b850aad47c9</guid><dc:creator>takuyak0088</dc:creator><description>&lt;p&gt;Sorry, I was unclear.&lt;/p&gt;
&lt;p&gt;I understand that the urlfortask() function can be used to obtain a URL to open the currently active task screen in a browser.&lt;/p&gt;
&lt;p&gt;However, I understand that this is a function that needs to be executed each time. I understand that in order to open the Appian screen from the task list of an external system, two actions are required each time: &amp;quot;executing the API to generate a URL&amp;quot; and &amp;quot;clicking the URL.&amp;quot;&lt;/p&gt;
&lt;p&gt;What I wanted to say was, is it possible to implement the following:&lt;/p&gt;
&lt;p&gt;&amp;quot;When an Appian process is executed from an external system via API, a unique URL is generated and returned as a return value. Clicking on the generated URL will redirect to the page of the currently active task (no matter which user input task in the process or even if it is in a subprocess)&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/149006?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2025 05:34:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e925991d-9757-4f29-b023-d79a95316455</guid><dc:creator>Shubham Aware</dc:creator><description>[quote userid="257691" url="~/discussions/f/general/39288/how-to-generate-a-unique-url-that-can-be-used-to-open-a-process/148995"]Generate a unique URL associated with the process → Click on the URL and be redirected to the page of the currently active task by Appian&amp;#39;s internal processing.[/quote]
&lt;p&gt;Yes, you can generate a task link using the &lt;a href="https://docs.appian.com/suite/help/25.2/fnc_scripting_a_urlfortask.html"&gt;a!urlForTask()&lt;/a&gt; function. Any authenticated user with viewer access permissions will be able to access that task.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/148995?ContentTypeID=1</link><pubDate>Mon, 16 Jun 2025 15:45:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ce9006b-5b36-4c11-8cd6-9f17d394d7e8</guid><dc:creator>takuyak0088</dc:creator><description>&lt;p&gt;So to launch a specific Appian process screen from an external system, two actions are required: &amp;quot;generating a URL using the API&amp;quot; and &amp;quot;clicking on the URL to open the tab.&amp;quot;&lt;br /&gt;As David says, I find this procedure a bit confusing.&lt;br /&gt;&lt;br /&gt;Is it possible to implement the following process?&lt;br /&gt;Generate a unique URL associated with the process &amp;rarr; Click on the URL and be redirected to the page of the currently active task by Appian&amp;#39;s internal processing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/148965?ContentTypeID=1</link><pubDate>Mon, 16 Jun 2025 06:30:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23926ffc-7c82-49c6-bc25-3c4df554fd02</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;As Stefan says, you can do it with the &lt;code data-start="87" data-end="101"&gt;urlfortask()&lt;/code&gt; function, but it&amp;#39;s true that I find the approach a bit confusing...&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/148962?ContentTypeID=1</link><pubDate>Sun, 15 Jun 2025 15:46:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6786d086-e7bf-49b2-8b41-213f042ea2ce</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I would not want to recommend such a design, but yes.&lt;/p&gt;
&lt;p&gt;I already shared how to start a process. To open a task, you create a process report that creates the list of tasks. Then you create another API in which you use that process report to return the list of tasks. Use the&amp;nbsp;a!urlfortask() function to create that link. This other system calls the API and shows the linked tasks in a list.&lt;/p&gt;
&lt;p&gt;To make this work seamlessly, you will have to make sure there is a common single sign on in place.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/148961?ContentTypeID=1</link><pubDate>Sun, 15 Jun 2025 15:32:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33ac7172-a79c-4f65-8cf2-0dfb26e05e7b</guid><dc:creator>takuyak0088</dc:creator><description>&lt;p&gt;Hello Stefan,&lt;/p&gt;
&lt;p&gt;I apologize for the unclear wording.&lt;br /&gt;I am hoping to implement the following process.&lt;br /&gt;&lt;br /&gt;1. When I click a button in an external system, use the API to start an Appian process. (The started process instance is called Process X.)&lt;br /&gt;2. When I click a URL link for Process X from the &amp;quot;Appian Process List&amp;quot; in the external system, the screen of the currently active task of Process X is opened in a new tab in the browser.&lt;br /&gt;*I used the word &amp;quot;open&amp;quot; to mean Process 2.&lt;br /&gt;&lt;br /&gt;Is it possible to implement the above?&lt;br /&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate a unique URL that can be used to open a process.</title><link>https://community.appian.com/thread/148960?ContentTypeID=1</link><pubDate>Sun, 15 Jun 2025 14:52:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:271e6fc5-19f5-49c1-aa86-5adaea5cef79</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You can start/initiate a process from another system using a web API. This is described here:&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.appian.com/suite/help/25.2/Publishing_Process_Models_as_Web_Services.html"&gt;https://docs.appian.com/suite/help/25.2/Publishing_Process_Models_as_Web_Services.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Not sure what you mean with the term &amp;quot;open&amp;quot;. A process cannot be opened, but you can show a list of tasks to the user. Clicking such a task then opens the UI specific to that task.&lt;/p&gt;
&lt;p&gt;Appian is more than a UI toolkit, and has a very specific opinion on how things work. The business process is the center. We attach these processes to records, then we assign UIs to tasks in processes to allow people to complete such a task.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>