Hi Sunitha, you can use regex to validate the email address using decision activity
if you just want to accept gmail address you can use:
And if you want to validate generic email address, you can use below regex:
I agree with Umesh. Alternatively, you can add validation in Mendix itself using ‘endswith’ function.
Means, create a boolean variable with value as true. Then add a decision. In that you can add the following:
endswith($entityname/attribute, ‘@gmail.com’). The output of the expression leads to boolean. If true, proceed with the next validation, if false, show validation message which says that email is not correct, change the boolean value to false and end the microflow.
I have added a microflow images.
Hope this helped you!