We will first see how to use the Groovy scripting language within Activiti and then continue with the Gateways.