Deletes all the logged information of instances of top level Processes that have terminated or closed before the given date. The information that is deleted is all the logging of: process instances, activities instances, input parameters values, output parameters values, process instances executed within other process instances, etc.
This action finds all top level process instances and recursively deletes all its subprocess instances, ensuring the meta-model remains consistent. In the meta-model, a top level process instance is identified in the Process entity by the condition: Top_Process_Id = Id.
ProcessesOlderThan: The date and time before which processes are to be deleted.
Date Time Type. Mandatory.
ProcessDefinitionId: The identifier of the process definition.
Integer Identifier Type. Optional.
MaxDeletedProcesses: The maximum number of processes to be deleted. The default is 1000. Set to 0 (zero) for unlimited deletes.
Integer Type. Optional.
HasMoreToDelete: Returns True if there are still process instances left to be deleted.
Boolean Type. Optional.
This action does NOT commit the current transaction.
Process_Delete Action | BPT API Overview