.initial()
.behavior(new Automatic())
.transition("fork")
.endActivity()
.createActivity("fork")
.behavior(new ParallelGateway())
.transition("c1")
.transition("c2")
.transition("c3")
.endActivity()
.createActivity("c1")
.behavior(new Automatic())
.transition("join1")
.endActivity()
.createActivity("c2")
.behavior(new Automatic())
.transition("join1")
.endActivity()
.createActivity("c3")
.behavior(new Automatic())
.transition("join2")
.endActivity()
.createActivity("join1")
.behavior(new ParallelGateway())
.transition("c4")
.transition("c5")
.transition("c6")
.endActivity()
.createActivity("c4")
.behavior(new Automatic())
.transition("join2")
.endActivity()
.createActivity("c5")
.behavior(new Automatic())
.transition("join2")
.endActivity()
.createActivity("c6")
.behavior(new Automatic())
.transition("join2")
.endActivity()
.createActivity("join2")
.behavior(new ParallelGateway())
.transition("end")
.endActivity()
.createActivity("end")
.behavior(new WaitState())
.endActivity()