IDEMPIERE-1165 #resolve Fitnesse and Web Services cannot run script processes
This commit is contained in:
parent
8ce47a9e01
commit
35e289c3b2
|
@ -324,7 +324,11 @@ public class MProcess extends X_AD_Process
|
|||
{
|
||||
if (log.isLoggable(Level.INFO)) log.info(pi.getClassName());
|
||||
|
||||
if (pi.getClassName().toLowerCase().startsWith(MRule.SCRIPT_PREFIX)) {
|
||||
return ProcessUtil.startScriptProcess(getCtx(), pi, trx);
|
||||
} else {
|
||||
return ProcessUtil.startJavaProcess(getCtx(), pi, trx, managedTrx);
|
||||
}
|
||||
} // startClass
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue