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 "Appian process list" on the other system.A process has multiple User Input Tasks and also enters sub-processes, but I would like to be able to open the process from the "Appian Process List" no matter what state it is in.Is it possible to generate and return a unique URL for opening a process, regardless of the task, when a process instance is launched? How should I implement this?I've recently started learning Appian.Please forgive me for asking a beginner's question. Thanks in Advance.
Discussion posts and replies are publicly visible
You can start/initiate a process from another system using a web API. This is described here:
https://docs.appian.com/suite/help/25.2/Publishing_Process_Models_as_Web_Services.html
Not sure what you mean with the term "open". 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.
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.
Hello Stefan,
I apologize for the unclear wording.I am hoping to implement the following process.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.)2. When I click a URL link for Process X from the "Appian Process List" in the external system, the screen of the currently active task of Process X is opened in a new tab in the browser.*I used the word "open" to mean Process 2.Is it possible to implement the above?Thanks.
I would not want to recommend such a design, but yes.
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 a!urlfortask() function to create that link. This other system calls the API and shows the linked tasks in a list.
To make this work seamlessly, you will have to make sure there is a common single sign on in place.
As Stefan says, you can do it with the urlfortask() function, but it's true that I find the approach a bit confusing..."
urlfortask()