07-26-2018 05:58 AM
Hi All,
I wanted to get the current taskId of a activiti workflow using Activiti REST.
On high level, my requriement is to run a simple workflow using Activiti REST. So, I develop my workflow in the Activiti App. But I run the workflow from the Spring Boot Application. Starting the workflow is very fine as i found some REST API to start the workflow. Now, here comes my problem. Once the workflow is started and comes to the second stage/task, i have to complete the stage/task. I found one REST API to do it, But it needs Task ID. How can I get the task ID? Is there any REST API to get the current task ID of a workflow?
Thanks in Advance,
Naveen
07-27-2018 10:45 AM
I think you can use get endpoint for tasks in the rest api with the processInstanceId as parameter
Explore our Alfresco products with the links below. Use labels to filter content by product module.