How can I get the task name from an execution id from a service? Do I need to run a native SQL?
To get a list of tasks related to the execution you may use the code like this:
List<TaskData> taskList = bprocTaskService.createTaskDataQuery()
.executionId(executionId)
.list();