I want to be able to create a new variable on a historic process.
I saw this post which describes how to modify an existing variable to a historic process instance:
https://forum.flowable.org/t/modify-process-variable-on-historical-instances/112/10
I didn’t see how to create a new variable since I need access to an instance of VariableInstanceEntity
for this call -
CommandContextUtil.getVariableServiceConfiguration(CommandContextUtil.getCommandContext()).getHistoricVariableInstanceEntityManager().createAndInsert(newVariable);