public boolean isOptional() {
        return optional;
    }
@return If the task is optional. When set to true, the workflow execution continues even when
    the task is in failed status.
common/src/main/java/com/netflix/conductor/common/metadata/workflow/WorkflowTask.java