Value Stream Maps Event Collector
Value stream maps includes a built-in event collector which follows your work item throughout its lifecycle:
When you enable field history tracking, the event collector creates an event utilizing a custom object for every change that takes place in the object and primary field selected for the value stream map. As a result, metrics are generated so that you can track Lead Time, % C/A and any other custom metrics.
When you create and activate a value stream map, if you set a start date in the past, Copado utilizes data from field history tracking to calculate the metrics related to your value stream map. For current and future events, Copado creates a scheduled job that runs every hour. A recalculation button will also execute the job if data needs to be refreshed before the scheduled job runs.
There are several batch jobs that are run in order to keep the value stream map running.
The garbage collector will delete any events that are no longer associated with a work item or object. For example, if you delete a record which is tied to a value stream map and has an event associated with it, the garbage collector will identify the event and delete it from the database. This job runs daily.
The sanity checker will ensure that both the garbage collector and the field history event creator jobs are active. This job runs every half hour.
The value stream map field history scheduler is an hourly job that reads the field history tracking data in order to calculate value stream map metrics.