<process-definition name="the scheduler process">
<swimlane name="initiator"/>
<start-state name="start" swimlane="initiator">
<transition to="only state">
</start-state>
<state name="only state" swimlane="initator">
<action>
<delegation class="org.jbpm.delegation.action.SchedulerJobActionHandler">
<job>
<delegation class="org.jbpm.scheduler.LoggingActionHandler"/>
<delay>0</delay> (延迟)
<name>halleluya</name>
</job>
</delegation>
</action>
<action event-type="state-leave">
<delegation class="org.jbpm.delegation.action.CancelJobActionHandler">halleluya</delegation>
</action>
<transition to="end"/>
</state>
<end-state name="end"/>
</process-definition>