Hi there, I’m new to this BPM world and i stumbled into a problem again. I have a timer event between two tasks, what I stuck is getting this timer event through JAVA Api, something like the same way you get tasks through createTaskQuery. Is there any way to do it? Thanks guys.
Hi @floris,
A timer spawns a so-called job at runtime. You can query it via ManagementService#createJobQuery
. See https://docs.camunda.org/manual/7.9/user-guide/process-engine/process-engine-concepts/#jobs-and-job-definitions for some more explanation and a code example for the query.
Cheers,
Thorben
1 Like