Created
August 28, 2015 18:21
-
-
Save marianogonzalez/0db7bcbedfd1200bde6e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="melValidation"> | |
<choice> | |
<when expression="#[validator.validateEmail(payload.email)]"> | |
<flow-ref name="sendEmail" /> | |
</when> | |
<otherwise> | |
<logger message="no email. Try contacting the user some other way" /> | |
</otherwise> | |
</choice> | |
</flow> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment