cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti 5.3 - using groovySQL in script task

pjknaup
Champ in-the-making
Champ in-the-making
Hi activiti community,

is it possible to use groovySQL within an script task?
My first attempt endet with:

02090011 Wrapped Exception (with status template): problem evaluating script: javax.script.ScriptException: org.activiti.engine.ActivitiException: couldn't find type for groovy.sql.Sql@1630f72

using the example from http://groovy.codehaus.org/Tutorial+6+-+Groovy+SQL

Please excuse if the question is naive - i am quite unexperienced with java-technologies.

Thanks a lot!

PJ
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Is GroovySQL compatible with the java scripting API? If so, then you must use the name of the scripting language (eg. for Groovy this is scriptFormat='groovy') in your script task.