(Quick Reference)

Bean 'historyService'

You can use the org.camunda.bpm.engine.HistoryService as an injectable bean:

def historyService

The plugin registers the bean as 'camundaHistoryServiceBean' with the default alias 'historyService'. You can change this default alias via configuration.