Two different Validation for two fields using microflow ?
Hello Team , I want to achieve the validations for two fields Both fields should either be filled or not. You can't have 1 filled and the other blank. Field1 should always be <=field2 While i am try to validate those at a time it was giving an error in local “ An error occured …..” Any suggestions ?
Sunkara Pavan Kalyan
Make the validation like this:
($Entity/Field1 = empty and $Entity/Field2 = empty) or
($Entity/Field1 != empty and $Entity/Field2 != empty and $Entity/Field1 <= $Entity/Field2)
Tim van Steenbergen
This can be easily achieved with a couple of decisions.,
If $Entity/Field1 = empty and $Entity/Field2 = empty then proceed then check if If $Entity/Field1 != empty and $Entity/Field2 != empty.