AnsweredAssumed Answered

Starting a process at some time in the future

Question asked by lbornov2 on May 20, 2016
Latest reply on May 23, 2016 by martin.grofcik
We have a use-case where we need call startProcessInstanceByKey in order to obtain the Process instance ID, but we want the process to actually start only 5 minutes *after* startProcessInstanceByKey() was called.

i.e.

/* the actual starting of the process should be delayed by X minutes */
final ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("requestType", variables);
System.out.println(processInstance.getId());

Is there any way to do this?

Outcomes