Hello,
After upgrade to IDM 4.5.5 i have issue on every worflows. All workflows
wroked fine on 4.0.2, now I see error:
-13 16:00:25,526 [pool-3-thread-7] ERROR
com.novell.soa.af.impl.activity.ActivityNode- [RBPM] Error Evaluating
Script Error Evaluating Script
com.novell.soa.script.mozilla.javascript.EcmaError : TypeError: getLogger
is not a function.
2017-03-13 16:00:25,541 [pool-3-thread-7] ERROR
com.novell.soa.af.impl.LogEvent- [RBPM] [Workflow_Error] Initiated by
cn=padmin,ou=SA,ou=Users,o=Orlen, Error Message: Dataitem [MAP0] with
expression [(function (){
var log =
Packages.com.novell.soa.logging.LogFactory.getLogg er('com.novell.soa.af.impl');
var rTG = flowdata.getObject('Start/input_form/grantRoles');
log.debug("rTG: "+rTG);
var accountGranted = false;
/* for (var i=0; i<rTG.size(); i++){
var cats = IDVault.get(rTG.get(i).getFirstChild().getNodeValu e(),
'Role', 'nrfRoleCategoryKey');
log.debug(i+"; cats for "+rTG.get(i)+" "+cats);
if (cats.indexOf("account")>-1){
accountGranted = true;
break;
}
}
log.debug("new account flag "+accountGranted);
if (!accountGranted){
return false;
}
var adLogin = null;
try{
var identity =
IDVault.get(flowdata.get('Start/input_form/fcon_picked'), 'ITeContract',
'Member');
adLogin = IDVault.get(identity, 'user', 'iteADLogin');
}catch(exc){
log.error("check if adLogin exists: "+exc.message);
return true;
}
log.debug("adLogin read for check: "+adLogin);
if (null==adLogin || adLogin.length<1){
log.debug("returning true as login empty");
return true;
}
var accountDN = IDVault.globalQuery("AccountByLogin",
{"login":adLogin});
log.debug("adLogin dn read for check: "+accountDN);
if (null!=accountDN || accountDN.length>0){
var accountState = IDVault.get(accountDN , 'ITeAccount', 'iteState');
log.debug("account state: "+accountState);
if
(String("aktualne").indexOf(String(accountState).t oLowerCase())>-1){
log.debug("not checking the login, current is "+accountState);
return false;
}else{
log.debug("checking the login, current is "+accountState);
return true;
}
}
log.debug("returning false as nothing else did matter");*/
return false;


Any suggestion?


--
awdowiak
------------------------------------------------------------------------
awdowiak's Profile: https://forums.netiq.com/member.php?userid=9262
View this thread: https://forums.netiq.com/showthread.php?t=57538