I’m looking for a way to validate the data that is being submitted to complete a user task. I found some documentation about the form data validation feature, but I’m not able to use it properly.
I use the REST API to submit task data to Camunda. When a task is being completed, I would like the data to be validated and only if everything is Ok, continue the process. If the data is invalid, the task should remain active and the call to complete the task should fail. Is this behavior possible?
I tried to use form field validation docs, but when I use a custom type (which is an available option in the editor but not documented yet?) it does not find the Java Class I specified (unknown type error).
Is field validation the correct place to do this kind of validation? If so, how should I be using it in the above mentioned scenario?
Thank you in advance!