cancel
Showing results for 
Search instead for 
Did you mean: 

Setting historic process instance variable

kartikmavani
Champ in-the-making
Champ in-the-making
Greetings,
I want to update a historic process instance variable, as a part of my business requirement.
Is it even possible, if yes then which API should I use for the same?

I am using Activiti 5.16

Thanks in advance.
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
No, the API' in Activiti don't allow that: once it's in history it is set in stone.

If you need it though, you will need to add your own Command implementation. In that Command, you'll have access to the lower level entityManager which would allow you to update historical data.

kartikmavani
Champ in-the-making
Champ in-the-making
Thank you Smiley Happy