cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti History Customization Enhancement

sakumar1
Champ in-the-making
Champ in-the-making
Hi,

We have multiple Workflow defined to perform difference Business Processing Activiti. However We want to track History for only Specific Set Activiti.

Current Activiti provides Enabling and Disabling History at Global Level. This Results in a Lot of Insertion on History Tables, which in turn impacts performance, maintenance through purging script.
We have daily Millions of Entries filling up table space.

Following Enhancement I am proposing

1) Disable/Enable History at Workflow Level During Deployment time
2) Disable/Enable History at Process Instance ID level
3) Provide a Plugin Implementation to add customized History Logging
4) Provide a option to Purge History after Specific Period again give a option to define at workflow level

Currently I am observing History as a bottleneck for performance because of non availability of above features.  Hence I decided to enhance this Activiti History with above features for our product .

Can you suggest me a way to plugin customized HistoryManager ?

Regards,
Sakumar
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Sakumar,

What I would propose:
  • do not rely on the current HistoryManagement implementation
  • implement new one based on the event infrastructure http://activiti.org/userguide/index.html#eventDispatcher and make the implementation pluggable.
  • outputs could be compatible with the current history service (same tables in the DB, the same queries…., backward compatible)
Regards
Martin