entityWorkflowStepSignatureRepository->find($message->signatureId); if (null === $signature) { throw new UnrecoverableMessageHandlingException('signature not found'); } $this->signatureStepStateChanger->onPostMark($signature); $this->entityManager->flush(); $this->entityManager->clear(); } }