Hi,
I create a groovy script in taskListner
like this:
task.setAssignee("sdfsgdsfsgsdf");
but when exucute it, it show this error:
No signature of method: org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.setAssignee?() is applicable for argument types: (java.lang.String) values: [sdfsgdsfsgsdf]
Possible solutions: setAssignee(java.lang.String), getAssignee()
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:71)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:48)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at Script15.run(Script15.groovy:13)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:321)
... 165 more
can some one help me?
Thanks