10-22-2012 10:07 AM
creditCheckOk = false;
if((income / 2) > loanAmount) {
out:println "credit check is ok";
creditCheckOk = true;
}
else
{
out:println "credit check is not ok";
}
out:println "Checked credit for " + name + " outcome is " + creditCheckOK;
org.activiti.engine.ActivitiException: problem evaluating script: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: creditCheckOK for class: Script1
…
very long stacktrace
…
Caused by: javax.script.ScriptException: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: creditCheckOK for class: Script1
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:117)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:216)
at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:75)
… 86 more
Caused by: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: creditCheckOK for class: Script1
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:318)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:111)
… 88 more
Caused by: groovy.lang.MissingPropertyException: No such property: creditCheckOK for class: Script1
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:49)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:239)
at Script1.run(Script1.groovy:13)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:315)
… 89 more
10-22-2012 10:34 AM
outrintln "Checked credit for " + name + " outcome is " + creditCheckOK;
10-23-2012 09:02 AM
10-23-2012 05:47 PM
10-24-2012 04:43 AM
unless there exist packages that already can do it?Really I don't know. I know for example that there are a plugin for eclipse to do Groovy project, maybe we could integrate this with designer. Same think for other scripting. Anyway, If I may put my two cents in. it is true that it is a huge amount of work, but I am wondering if the functionality worth taking the effort required. Viceversa if there isn't this functionalities scripting tasks lost a bit of his potentialities.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.