Macros give us the power to evaluate some groovy code, and have the result used in a Madcow step. This feature is simple, but extremely powerful.
Be aware, though, that it’ll greatly reduce the maintainability of your scripts for people who don’t know Groovy.
Examples