cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the Id of a Job on ACT_RU_JOB by its name or by a TaskId

coelhorrc
Champ in-the-making
Champ in-the-making
I have to get a speciffic job (TIMER) from the table ACT_RU_JOB.
The only information I have is a task (the timer is a Timer Boundary Event) and I have the name of the timer specified by the user.
Since I have two Timers in the same Task, I don't know how to get the timer that I want.

Is there a way to know the jobId of a specific timer?

I saw in the table a column named HANDLER_TYPE_, what is this column?
The Id and the Handler_type columns are the only ones that have different values when we have two Timers(jobs) of the same task running at the same time.


1 REPLY 1

jbarrez
Star Contributor
Star Contributor
The HANDLER_TYPE_ determines the class that will handle the job. So that shoulnd't be changed.

I see your problem. Maybe you could use the executionId and use it to determine the activity id of the timer. There should be two executions for the two timers so they should be separatable.