String workflowAsString = getWorkflow();
Workflow workflow = new Workflow(workflowAsString);
NameValue[] configurations = new NameValue[2];
configurations[0] = new NameValue();
configurations[0].setName(Main.GFAC);
configurations[0].setValue(XBayaConstants.DEFAULT_GFAC_URL.toString());
configurations[1] = new NameValue();
configurations[1].setName(Main.XREGISTRY);
configurations[1].setValue(XBayaConstants.DEFAULT_XREGISTRY_URL.toString());
//set more like dsc ets look at constants in Main
NameValue[] inputs = new NameValue[1];
inputs[0] = new NameValue();
inputs[0].setName("input");
inputs[0].setValue("myechoString");