Path the task output data instead of a hard coded 0

This commit is contained in:
reynisson 2021-11-21 17:16:01 +01:00
parent 1bd387413e
commit af820f23d9

View File

@ -44,7 +44,7 @@ public class ExternalTaskExecutedWebAdapter implements ExternalTaskExecutedEvent
op2 = new JSONObject() op2 = new JSONObject()
.put("op", "add") .put("op", "add")
.put("path", "/outputData") .put("path", "/outputData")
.put("value", "0"); .put("value", externalTaskExecutedEvent.getOutputData());
} catch (JSONException e) { } catch (JSONException e) {
logger.log(Level.SEVERE, e.getLocalizedMessage(), e); logger.log(Level.SEVERE, e.getLocalizedMessage(), e);
return; return;