03-05-2013 08:54 PM
Caused by: org.activiti.engine.ActivitiException: problem evaluating script: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "JSON" is not defined. (<Unknown source>#26) in <Unknown source> at line number 26
at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:77)
at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:64)
at org.activiti.engine.impl.bpmn.behavior.ScriptTaskActivityBehavior.execute(ScriptTaskActivityBehavior.java:63)
at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44)
at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:86)
at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:530)
at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:525)
at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerStart.java:52)
at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:86)
03-05-2013 08:58 PM
Could not upload attachment to ./files/425_861b091925e73092c7dc1df913c08f71.". Here is a link:
03-07-2013 08:15 AM
03-12-2013 12:09 AM
02-03-2014 10:41 AM
02-04-2014 02:00 AM
/* JDK 7 only
var reportData = {};
var dataset = {};
dataset.description = "Helpdesk process: issues solved in first line vs escalation needed";
dataset.type = "pieChart";
reportData.datasets = [];
if (escalatedCount > 0 || firstLineCount > 0) {
dataset.data = {"First line solved" : firstLineCount, "Escalation needed" : escalatedCount};
}
reportData.datasets.push(dataset);
execution.setVariable("reportData", new java.lang.String(JSON.stringify(reportData)).getBytes("UTF-8"));
*/
/* JDK 6+ */
var reportData = new ReportData();
var dataset = reportData.newDataset();
dataset.description = "Helpdesk process: issues solved in first line vs escalation needed";
dataset.type = "pieChart";
if (escalatedCount > 0 || firstLineCount > 0) {
dataset.add("First line solved", firstLineCount);
dataset.add("Escalation needed", escalatedCount);
}
execution.setVariable("reportData", reportData.toBytes());
02-06-2014 06:06 AM
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.