cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Job ID in timed process

hyapit
Champ in-the-making
Champ in-the-making
Hello,

I have a TimerDefinition in my process definition, which will create a Job instance when the process definition is deployed. I would like to set the processDefinitionID column AND/OR jobID column of the Job Table to an ID of my choosing. How should I go about achieving that?

I tried the "id" XML tags of timerDefinition and timeCycle tag, but they don't seem to be hooked up to the columns I'm interested in.

Ideally, I'd like to be able to set these values before the Job instance is created, i.e. before the process definition is deployed.

Thoughts? Advice?
11 REPLIES 11

hyapit
Champ in-the-making
Champ in-the-making
I understand your point.

In my unique use case, I do have one timer per process definition ( the process definition will only be instantiated once ), and I saw the column "PROC_DEF_ID" in ACT_RU_JOB table made me think you guys have some level of support for this use case.

Thanks a lot of your response.

From your response early on, I deduce that this is not the case and PROC_DEF_ID is not meant to hold the process definition ID I was thinking about.

jbarrez
Star Contributor
Star Contributor
you are correct in your analysis: the process definition id is not used for this purpose, it is there for delayed suspending of a process definition.