// calculate process Id
String pId = work.calculatePId();
logger.debug("process Id is "+pId);
work.setSbiParametersMap(parameters);
CommonjEngine cm=new CommonjEngine();
try {
worksRepository = CommonjEngine.getWorksRepository();
} catch (SpagoBIEngineException e) {
logger.error("Error in reatriving works repository",e);
return;