Currently, WorkflowExecutionValidator performs validation for different use cases. As a result, it is quite difficult to track positive or negative scenarios. The aim is to simplify code. We need to create validators for each status. The validator will check if transition from current state is allowed or not.
WorkflowExecutionValidator.validateOperation()