Can we get the execution type from the executions

Currently, Using GET executions API we are getting the list of executions. But using this execution we aren’t able to find the type of the execution (eg: ad-hoc subprocess, human take etc). Is there any way to get the execution type from the execution.

Hey @HarishArawala,

Currently only the activityId is persisted on the executions. To get the type you’ll have to use the BpmnModel and get the flow element from the process. Have a look at my answer here for how to do that.

You could also provide a PR that would add the activity type to the Execution and then it would be available over REST as well.


1 Like