Added note pointing to complete workflow example on Github. The complete example uses the Groovy script discussed in the UG's section on scripting in workflow