running workflow from java [message #697837] |
Mon, 18 July 2011 03:42  |
Eclipse User |
|
|
|
hi
i tried to run my workflow from java and used the same calls as in the eclipse helpcontents
String wfFile = "somePath\\workflow.mwe";
Map properties = new HashMap();
Map slotContents = new HashMap();
new WorkflowRunner().run(wfFile ,
new NullProgressMonitor(), properties, slotContents)
it does not work, because the run-method is expecting a ProgressMonitor and things like this lead to an error:
ProgressMonitor p = new NullProgressMonitor();
so i tried it with just null for the progressmonitor, it runs but doesn't work like i expected, because the properties are set in a false way
so maybe someone knows what the right call is.
best regards
stoehm
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03716 seconds