ResponseHandlerResponse rhr = ((HTTPResponseHandler)handler).processAction( request, response );
assertNotNull( rhr );
assertTrue( rhr.isAbleToContinue() );
// The task has been submitted so let's transition to the next node
EngineMessage engineMessage = new EngineMessageImpl();
engineMessage.setMessageType( EngineMessage.TYPE_MOVE_TOKEN );
engineMessage.setCurrentTokenID( rhr.getTokenID() );
engineMessage.addAppData( rhr.getActivityDataName(), rhr.getActivityData() );
queueService.enqueue( engineMessage );
taskService.setTaskStatus( task.getTaskID(), Task.TASK_COMPLETE );