Use Case:User wants to access specific Appian task form from the external system. The task is not readily available. But, based on the request, the process would get triggered and a task is generated.
So, the ask here is to create a web API which initiates the process which generates the task, get the task ID, and constructs the task form link, and lastly redirects the user to the link that is just generated.
Is this possible using Appian's Web API?
Discussion posts and replies are publicly visible
Have you tried responding to an API invocation with a HTTP Redirect Status Code? That might get the browser to redirect the user for you.
So, one thing I noticed is, you can't make GET request to Appian Web API which initiates the process (or any smart service). So, I can't just have a link on which user can click on, right? Because that would always be GET request. We tried similar approach, but always got failures.
Yes, Appian does not support invoking processes with a GET Web API. Could you get creative on the client side? A quick google search yields: https://stackoverflow.com/questions/3915917/make-a-link-use-post-instead-of-get
That's interesting! Let me ask around! I will keep you posted!
© 2020 Appian. All rights reserved.