cancel
Showing results for 
Search instead for 
Did you mean: 

Process blocked on timerboundary event

pred05
Champ in-the-making
Champ in-the-making
Hi,
i have an intermediate boundary event which wait a date calculated by a service task just before (store into a workflow's variable). But i have doing a mistake and my first workflow's version don't calculated the good date and when the process was instanced the intermediate boundary event was instanced without date. Now i have fix this but all my processes start before the fix have no jobs and tasks and seems to be blocked on the intermediateboudaryevent activity. i would set the good date in workflow's variable and to deblock the process's instances.
is it possible ?

In the database what is the CACHED_ENT_STATE_ ? because in my case it is set to 0 for bad instance and to 4 for good instance.

Thanks you for your help.
3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

You have to change timer due date in the ACT_RU_JOB table.

Regards
Martin

pred05
Champ in-the-making
Champ in-the-making
Hi, thanks but the process haven't jobs (and tasks) in progress (no line in ACT_RU_JOB and in ACT_RU_TASK).

And in the ACT_RU_EXECUTION the process is not suspended (set to 1), the ACT_ID is set to the timer "timerintermediatecatchevent1". is it possible to force the process instance to be in a specific state ?

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi

is it possible to force the process instance to be in a specific state
yes it is. Create your own command to change DB state of the execution. execution.activityId_ has to be set to the correct one. You have to know what you are doing with the executions.
You shoud use org.activiti.engine.impl.cmd.SetProcessDefinitionVersionCmd to set corect process definition version for the process instance.

Regards
Martin