" <wor:workflow-scheduling-context />\n" +
" <wor:security-context />\n" +
"</wor:context-header>");
}
Map<String, String> configuration = new HashMap<String, String>();
WorkflowContextHeaderBuilder workflowContextHeaderBuilder = parseContextHeader(workflowContext, configuration);
String user = workflowContextHeaderBuilder.getSubmissionUser();
String s = null;
try {
s = setupAndLaunch(workflowAsString, topic, ServerSettings.getSystemUserGateway(),
user,inputs, configuration, runInThread, workflowContextHeaderBuilder);