Do the chapter 5 in Activiti In Action.