first code ,will automatic run workflow from start to end. it's programming for run task.
if you want to see each step of workflow, to run jbpm console, login same first code is krisv to assign task on gwt screen, another of user, mary or john, this user or gruop see code in jbpm install workspace. it file name DemoTaskService.java in src of Task-service ,see also Mvel user scripte.