cancel
Showing results for 
Search instead for 
Did you mean: 

deleting process variable

justass
Champ in-the-making
Champ in-the-making
Hi,
when deleting process variable using taskService.removeVariable(taskId, variableName), variable entry is deleted from act_ru_variable DB table, however entry remains in act_hi_varinst table and the value is null.
How to remove variable from history table (act_hi_varinst) when deleting variable from process using taskService.removeVariable(taskId, variableName)?
1 REPLY 1

guojia
Champ in-the-making
Champ in-the-making
act_hi_varinst—> history table.
act_ru_variable —> runtime table.
after process completed, the runtime data will be deleted from the runtime table, and at the same time ,a record will insert into history table.
you can try historyService to remove vars from history table.