* org.apache.oodt.cas.workflow.structs.WorkflowTaskConfiguration)
*/
@Override
public void run(Metadata metadata, WorkflowTaskConfiguration config)
throws WorkflowTaskInstanceException {
XmlRpcWorkflowManagerClient wm = null;
try {
wm = new XmlRpcWorkflowManagerClient(new URL(
metadata.getMetadata(CoreMetKeys.WORKFLOW_MANAGER_URL)));
wm.sendEvent(config.getProperty("eventName"), metadata);
} catch (Exception e) {
throw new WorkflowTaskInstanceException(e.getMessage());
}
}