* @see java.lang.Thread#run()
*/
@Override
public void run() {
WorkflowInterpreter workflowInterpreter = new WorkflowInterpreter(
DynamicWorkflowRunnerWindow.this.engine, topicString);
workflowInterpreter.setRunWithCrossProduct(isRunCrossProduct);
try {
MonitorConfiguration notifConfig = DynamicWorkflowRunnerWindow.this.engine.getMonitor()
.getConfiguration();
notifConfig.setTopic(topicString);
DynamicWorkflowRunnerWindow.this.engine.getMonitor().start();
if (resourceMapping != null)
workflowInterpreter.setResourceMapping(resourceMapping);
workflowInterpreter.scheduleDynamically();
} catch (XBayaException e) {
try {
workflowInterpreter.cleanup();
} catch (MonitorException e1) {
DynamicWorkflowRunnerWindow.this.engine.getErrorWindow().error(e1);
}
DynamicWorkflowRunnerWindow.this.engine.getErrorWindow().error(e);
}