You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should validate a required input field when it is required by the workflow #1744
If I have execute the sample definition I got the following (partially localized in spanish) message
io.serverlessworkflow.impl.WorkflowException: WorkflowError[type=https://serverlessworkflow.io/spec/1.0.0/errors/validation, status=400, instance=qe:greet:1.1.0, title=Schema validation errors, detail=no se encontró la propiedad requerida 'name']
at io.serverlessworkflow.impl.WorkflowUtils.validationError(WorkflowUtils.java:354)
at io.serverlessworkflow.impl.WorkflowUtils.validationError(WorkflowUtils.java:343)
at io.serverlessworkflow.impl.WorkflowDefinition.lambda$2(WorkflowDefinition.java:129)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at io.serverlessworkflow.impl.WorkflowDefinition.instance(WorkflowDefinition.java:129)
at io.serverlessworkflow.impl.test.WorkflowInstanceIdTest.testWorkflowValidation(WorkflowInstanceIdTest.java:57)
I think you are probably missing serverlessworkflow-impl-validation dependency in the environment you are testing.
Activity
fjtirado commentedon Oct 9, 2026
@mathecruz
If I have execute the sample definition I got the following (partially localized in spanish) message
I think you are probably missing serverlessworkflow-impl-validation dependency in the environment you are testing.