Groovy example for workflow creation.
And of course: further dot tweaking...