How to run a custom validator using Embedded Task Forms?

We are using Camunda Version 7.11 and we have the following scenario:

There is a User Task in our workflow which uses an Embedded Task Form. The FormKey is “embedded:deployment:myCustomForm.html”.

We are using JavaScript to do simple some validations in our Embedded Form, but we would like to implement some more complex validations, for example comparing a value with another workflow variable value. We would like to do these validations from Camunda backend like we are doing using the interface FormFieldValidator for the Generated forms.

How can we configure the Camunda Application to be able to run a custom validator using Embedded Task Forms?

Thanks in advance,
Sira

2 Likes