I'm not sure what you mean.. if you take a look at the class called: SimpleEmergencyProcessTest in the jbpm5/01-jBPM5-SimpleEmergencyProcess/src/test/java/com/wordpress/salaboy/examples/ You will find the code that initializes and test the process for that example.