public function deleteAllModelStates(ModelInterface $model, $processName = null)
    {
        return $this->repository->deleteModelStates(
            $model->getWorkflowIdentifier(),
            $processName
        );
    }