cancel
Showing results for 
Search instead for 
Did you mean: 

Update Process Variables for a finished process

darksu
Champ in-the-making
Champ in-the-making
Hello,

Is there any way to update the process variables of a finished process?

I would like to avoid updating a process variable by using jdbc.

Best Regards,

Darksu

2 REPLIES 2

pkonyves
Champ in-the-making
Champ in-the-making
I don't think so. Process variables for finished processes are only available from historic service. Historic service is read-only. You might need to dig in the implementation to get hold of some HistoricVariableEntityManager if there is any.

For Alfresco, we ended up using JDBC to update some historic variables, because it took the variables from historic service for already started process, and we needed to fix up some wrongly created process variables.

darksu
Champ in-the-making
Champ in-the-making
Hello pkonyves,

Thank you for the fast response.

Unfortunately I will have to continue with JDBC.

Darksu