cancel
Showing results for 
Search instead for 
Did you mean: 

businessKey didn't appear in ACT_HI_PROCINST

forgetj
Champ in-the-making
Champ in-the-making
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
4 REPLIES 4

jbarrez
Star Contributor
Star Contributor

jbarrez
Star Contributor
Star Contributor
Fixed on trunk (rev 1257).

Thanks for posting it !

forgetj
Champ in-the-making
Champ in-the-making
hi jbarrez, thanks very much for your quickly response.

could u have a look at ACT_INST_ID_  in ACT_HI_DETAIL ? It's empty and i cant find HistoricDetail by activityId.

jbarrez
Star Contributor
Star Contributor
Correct. There is a Jira issue assigned to Tom to fix that in this release.