From a86af4a999ab0a903141f553f42382a9cb4f93aa Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Sun, 25 Nov 2018 20:59:20 +0100 Subject: [PATCH] camunda: fix reporting input format --- camunda-overlay/sentiment-analysis.bpmn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/camunda-overlay/sentiment-analysis.bpmn b/camunda-overlay/sentiment-analysis.bpmn index 0063757..3a46c63 100644 --- a/camunda-overlay/sentiment-analysis.bpmn +++ b/camunda-overlay/sentiment-analysis.bpmn @@ -35,7 +35,8 @@ var termStr = term.prop('term').value(); //results.prop(termStr, analysis); // this is for list var item = {}; -item[termStr] = analysis; +item["name"] = termStr; +item["sentiment"] = analysis; results.append(item) execution.setVariable("results", S(results)) -- 2.43.0