In this lesson we will see how Service Tasks can be used to execute Java code and how Gateways can be used to define process behaviour.