cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling Full History for a process definition

kethur
Champ in-the-making
Champ in-the-making
Hi,

I have 3 workflows in my system.  I know i can specify the level in configuration but, it applies all processes deployed in my system. 
Is there a way I can enable History level to Full specific to a process definition and not all of them in my system?

Thanks,
Raj
3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Raj

I do not know about such a possibility.
On the other hand, you could extend org.activiti.engine.impl.history.HistoryManager to provide some kind of filtering.

Martin

kethur
Champ in-the-making
Champ in-the-making
Hi,

We dont use latest version of Activiti.  We are on 5.10 so, that class is not available.  Actually, the ProcessEngineConfiguration is the one which returns the history level and I don't see a way to extend that to implement process definition specific history level.

Thanks,
Raj

trademak
Star Contributor
Star Contributor
Hi Raj,

No there's no such functionality by default. However the implementation of the history is done by adding listeners to the process definition when deploying the process definition. So you could customise this logic. However it's not pluggable right now I think. So you might need to customize the Engine code to get that working.

Best regards,