Examples of code snippets to use BonitaBPM.