Hi ,
I have a requirement to show current and next process state though REST API.
I am not able to figure out solution. Is there API exposed for this?
Hi ,
I have a requirement to show current and next process state though REST API.
I am not able to figure out solution. Is there API exposed for this?
Hi,
For the current process state you could query for tasks, if you have a user task focused process definition:
http://www.flowable.org/docs/userguide/index.html#restTasksGet
Or you could get a full overview of the active executions for the process instance:
http://www.flowable.org/docs/userguide/index.html#restExecutionsGet
The question about the next process state I’m not understanding yet. It depends on the process flow of course to know which activities will be next. You can get the BPMN model and traverse the model to get the information you are looking for with:
http://www.flowable.org/docs/userguide/index.html#_get_a_process_definition_bpmn_model
Best regards,
Tijs
Thanks @tijs
does activities in model will be in same sequence?