inst.setId("winst-"+priority);
Workflow workflow = new Workflow();
workflow.setTasks(Collections.EMPTY_LIST);
inst.setWorkflow(workflow);
inst.setPriority(Priority.getPriority(priority));
SequentialProcessor processor = new SequentialProcessor(lifecycleManager, inst);
return processor;
}