How to use customHistoryJobHandlers


We want to add our own application metadata to history data and save it asynchronously . How to achieve .

When then is a human task or user task how to update the history data for a perticular instance .



AsyncHistoryManager is responsible for creating new jobs with data.
These jobs are executed and HistoryJsonTransformer implementations transforms these data to e.g. rows historic tables.

Depending on your requirements you just need to provide your own implementation of the transformer, or AsyncHistoryManager in the case when you want to add additional data to the job.