Class WorkflowRecordCleanup

java.lang.Object
com.axelor.workflow.trigger.WorkflowRecordCleanup

public class WorkflowRecordCleanup extends Object
Ends what the engine still holds for deleted records: pending approvals, parked runs and trigger state. Set-based, so deleting many rows is one pass.
  • Constructor Details

    • WorkflowRecordCleanup

      public WorkflowRecordCleanup()
  • Method Details

    • recordsDeleted

      public void recordsDeleted(String model, String jsonModel, Collection<Long> recordIds)
      Give up everything held for these deleted records of model.
      Parameters:
      jsonModel - the custom model, when model is MetaJsonRecord; else null