diff --git a/core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java b/core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java index 99d0709853..493fd76b2c 100644 --- a/core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java +++ b/core/src/main/java/com/netflix/conductor/validations/WorkflowTaskTypeConstraint.java @@ -262,7 +262,7 @@ private boolean isDoWhileTaskValid( String message = String.format( PARAM_REQUIRED_STRING_FORMAT, - "loopExpression", + "loopCondition", TaskType.DO_WHILE, workflowTask.getName()); context.buildConstraintViolationWithTemplate(message).addConstraintViolation(); @@ -272,7 +272,7 @@ private boolean isDoWhileTaskValid( String message = String.format( PARAM_REQUIRED_STRING_FORMAT, - "loopover", + "loopOver", TaskType.DO_WHILE, workflowTask.getName()); context.buildConstraintViolationWithTemplate(message).addConstraintViolation();