// classic or order queue driven? return true for order queue driven invocation, return false for classic job start
rc = !(spooler_task.job().order_queue() == null);
Variable_set params = spooler_task.params();
spooler_log.info("Params for task: "+spooler_task.id());
if (params!=null){
spooler_log.info("Job params: \n"+params.xml());
}
Order order = spooler_task.order();
Variable_set payload=null;
if (order!=null){
Object oPayload = order.payload();