cancel
Showing results for 
Search instead for 
Did you mean: 

Setting engine config params using spring boot activiti

rajivmoghe
Champ in-the-making
Champ in-the-making
I'm using the spring boot activiti using the pom from here.

I'm able to see some parameters, e.g. jobExecutorActivate, processDefinitionLocationPrefix etc…
However, I don't see the historyLevel that i can map as "spring.activiti.history-level=full", to get full history.

This seems to be in the source on the github, but not in the downloaded sources when I use activiti version 5.19.0.2, and also not in the AbstractProcessEngineAutoConfiguration class.

Q: I understand, that when not explicitly set, the history defaults to audit, but I want to set that to full. How can I do that?
I have used "spring.activiti.history-level=full" in the application.properties, but i suspect that is probably being ignored…

Thanks
Rajiv
2 REPLIES 2

rajivmoghe
Champ in-the-making
Champ in-the-making
I noticed that the master branch contains the history level, but the 5.18.0 and the 5.19.x tags do not.
Since those are the ones taken by maven, the given property is not in there. Any other work around for this?

Rajiv

jbarrez
Star Contributor
Star Contributor
Not all properties are exposed in the Spring Boot way yet. You can use a ProcessEngineConfigurationConfigurator to progammatically set those properties.