protected final void resubmit ( ) throws Interrupt { final String cid = engine . createUUID ( ) ; engine . registerCallbacks ( this , WaitMode . ALL , 0 , cid ) ; Acknowledge ack = createCheckpointAcknowledge ( ) ; engine . notify ( new Response < Object > ( cid , null , null ) , ack ) ; registerCheckpointAcknowledge ( ack ) ; updateLastWaitStackTrace ( ) ; }
Causes the engine to stop processing of this workflow instance and to enqueue it again . May be used in case of processor pool change or to create a savepoint .