Hello all,
I have created a workflow using graphical interface provided by online trial version of Alfresco. (A screenshot is below for your info.)
It is validated and works fine when I start the process.
Now my question is: "Does the graphical interface provide a REST API for external applications to run/start this workflow automatically?"
If yes, can you please let me know how I can have/access that REST URL/API to start my workflow automatically?
Thanks for your help in advance.
Narjes
Hello,
Based on your diagram, the two REST components you have there are basically REST clients. When you start the process, those tasks will invoke the REST APIs you have configured using those components. Basically those two REST components in your process are REST clients. If I understand your question correctly, you want to start the process instance through an REST API. Yes, that is possible. Alfresco Process Service comes with a rich set of APIs. There are APIs that allow you to start a process instance. Please refer the documentation for more details: Start Process Instance | Alfresco Documentation
If you have the latest version installed, you should be able to browse through all the APIs using the API Explorer which is available at http://localhost:8080/activiti-app/api-explorer.html (assuming you have Alfresco Process Service installed on your localhost running on 8080. Otherwise, please modify the url accordingly). You can also use the cloud instances's API Explorer to browse the API documentation which is available at Alfresco Process Services API Explorer
Hope this helps.
Cheers,
Ciju
Many thanks Ciju for this exhaustive explanation. It was really helpful.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.