Hi
I’m using the Camunda spring boot starter. I’m getting a race condition due to resolved tasks moving from TaskService to the HistoryService.
Example
I want to get a list of tasks and their variables
taskService.createTaskQuery().taskAssignee(“someUser”).list().map { taskService.getVariables(it.id) }
so if a task is resolved/deleted after the list call and before it’s variables have been retrieved I will get a task now found error.
Is there a way for me to query the tasks and variables in together without resorting to using a native query?
Daniel