Hi,
I use a service task in bpmn and call webservice with post method,
the body or payload of service task is:
def mp = [:]
def excelFile = execution.getVariable(“excelFile”)
def MainProcessStarter = execution.getVariable(“MainProcessStarter”)
mp.fileId = excelFile
mp.username = MainProcessStarter;
S(mp, org.camunda.spin.DataFormats.json()).toString()
But when this service task is executed, i have getting this error
org.camunda.bpm.engine.ScriptEvaluationException: Unable to evaluate script: java.lang.Exception.
I can’t find any syntax error in above code,
anyone knows why this error happen??
thanks