Now below mentioned error is coming:
Cannot submit task form 71380f23-99ad-11e6-8244-d43d7ec7ada1: Unable to evaluate script: sun.org.mozilla.javascript.internal.EvaluatorException: invalid return (#3) in at line number 3
Now below mentioned error is coming:
Cannot submit task form 71380f23-99ad-11e6-8244-d43d7ec7ada1: Unable to evaluate script: sun.org.mozilla.javascript.internal.EvaluatorException: invalid return (#3) in at line number 3
Remove the return
. Sorry for the confusion. was typing on my phone
Just have
var productid = execution.getVariable("productId");
var url = "http://abc/"+productid+ "?responseFormat=json";
url;
Here is a working sample:
CollectCatalogInfo - v2.bpmn (5.9 KB)
Hi Stephen,
Thanx for the solutionā¦Its workingā¦
Although I found an alternative script alsoā¦
"http://abc/"+execution.getVariable(āproductIdā)+"?responseFormat=json"
writing this only in inline script will also suffice
Thanks,
Tushar
Glad it worked out.