AnsweredAssumed Answered

businessKey didn't appear in ACT_HI_PROCINST

Question asked by forgetj on Nov 9, 2010
Latest reply on Nov 12, 2010 by jbarrez
I use "runtimeService.startProcessInstanceById(processDefinitionId, businessKey, variables);" to start a process, but the businessKey didn't appear in the table  ACT_HI_PROCINST,is there a bug?

insert into ACT_RU_EXECUTION (ID_, REV_, PROC_INST_ID_, BUSINESS_KEY_, PROC_DEF_ID_, ACT_ID_, IS_ACTIVE_, IS_CONCURRENT_, IS_SCOPE_, PARENT_ID_, SUPER_EXEC_) values ( ?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ? ) 
1001(String), 1001(String), 2914c3d9-a732-4573-ae8e-81d70b1b810f(String), vacationRequest:1(String), handleRequest(String), true(Boolean), false(Boolean), true(Boolean), null, null
insert into ACT_HI_PROCINST ( ID_, PROC_INST_ID_, BUSINESS_KEY_, PROC_DEF_ID_, START_TIME_, END_TIME_, DURATION_, START_USER_ID_, START_ACT_ID_, END_ACT_ID_ ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
1001(String), 1001(String), null, vacationRequest:1(String), 2010-11-09 13:26:30.062(Timestamp), null, null, null, null, null

Outcomes