.behavior(new Automatic())
.executionListener(ExecutionListener.EVENTNAME_END, verifier)
.transition("endInside")
.endActivity()
.createActivity("endInside")
.behavior(new End())
.executionListener(ExecutionListener.EVENTNAME_END, verifier)
.endActivity()
.transition("end")
.endActivity()
.createActivity("end")
.behavior(new End())
.executionListener(ExecutionListener.EVENTNAME_END, verifier)
.endActivity()
.buildProcessDefinition();
PvmProcessInstance processInstance = processDefinition.createProcessInstance();