We are using Camunda REST-API.
Suppose there is a process-definition with work-flow as follows :
Start Event --> User-Task A --> User-Task B --> User-Task C --> End Event
Say, one of my process-instance is at user-Task B.
Is there any possible way (by calling Camunda REST-API) to know :
- Completed tasks for a process-instance (User-Task A in the above case).
- All the tasks that are part of the process-definition (User-Task A, User-Task B, User-Task C in the above case).
What I'm aware of:
- One can get the bpm xml file and accordingly parse it to fetch ALL the tasks.
- BPMN Model API can help us achieve the above same thing.
- One can get current task using Task REST API.
Thanks.