Create a variable for a user task only in history?

Is it possible to create a variable for a user task only in history?

Hi,

Yes that’s possible using your own Command implementation and using ManagementService.executeCommand to run it. You can use the HistoricVariableInstanceEntityManager to insert a historic variable with the correct references to the task id of the user task. It’s a bit low level, but at least it’s possible :slight_smile:

Best regards,

Tijs