I am using Activiti 5.21 in my spring boot application and want to check the history of the process variables that are updated in the journey at any point. The histories are maintained in ACT_HI_DETAIL table of activiti but in my case, there are no entries at all in this table. The remaining tables have entries as expected.
I also referred to the activiti user guide where it says the historyLevel should be configured as full for thehighest level of history archiving.
In my project, I have set the history level(spring.activiti.historyLevel= full) in application.properties file but still there are no entries in ACT_HI_DETAIL even after the completion of a journey.
The User Guide also shows two different ways to set the history level.
1.) can be configured programmatically with this code:
Thanks for the reply. I have already setspring.activiti.historyLevel=full in application.properties file but still there are no entries in ACT_HI_DETAIL.I have set up three different environment(staging,uat and local)s for testing purpose and it's working fine in two environments(local and staging) and not in the third.I have matched the application.properties files of all the three and they all are exactly the same.So do you know if the historyLevel configuration depends on the environment?Please help.
hmm, no idea. No, it is not/should not be dependent on any environment! Do you have any logic in your application specific to each env? Is it possible to reproduce this issue through a simple spring boot project which you can attach here or add to a github project?