Add deleteHistoricProcessInstance() to HistoryService

Description

It should be possible to permanently delete a workflow-instance from the history by calling method on HistoryService.

This should cascade-delete all HistoricActivityInstances, HistoricDetails, HistoricTasks and the task's HistoricVariableUpdates.

When a process-instance is not yet completed, and the corresponding HistoricWorkflowInstance is deleted, an exception may be thrown (something like "first finish or delete the running instance")

http://issues.alfresco.com/jira/browse/ALF-6897

Assignee

Frederik Heremans

Reporter

Frederik Heremans

Labels

None

Components

Fix versions

Priority

Critical
Configure