Historic Task add variable?

Is it possible to add a variable to a task that has already been completed? when i try to use the API its complaining that the task does not exist. i can see it via the historical task API.

Hi @ljones46,

Historical data should be used as read-only source (for reporting, analytical and statistical purposes)

I believe that changing historical data breaks it’s purpose.

In short, historical data is a reflection of runtime data so consistency between both should be maintained.

@hassang understood. strange that one can add a comment to a completed task.

Hi @ljones46,

comment is a different use case than adding a task variable, because comments are for humans.

If the process instance is still running, you can add a process instance variable.

Hope this helps, Ingo

1 Like