Object paramVal=m.get(fpId);
param=new AppParameter(ap.toValue(),fpId,fpMode,paramVal,SharkUtilities.getJavaClass(fp));
parameters.add(param);
}
ApplicationMappingManager mm=SharkEngineManager.getInstance().getApplicationMapPersistenceManager();
ApplicationMap tad=null;
if (mm!=null) {
XMLComplexElement cOwn=(XMLComplexElement)app.getParent().getParent();
boolean isProcessApp=(cOwn instanceof WorkflowProcess);
ApplicationMappingTransaction t=null;
try {
t = SharkUtilities.createApplicationMappingTransaction();
tad= mm.getApplicationMap(
t,
XMLUtil.getPackage(app).getId(),
((isProcessApp)? cOwn.get("Id").toValue() : null),
applicationId
);