Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<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