From af820f23d984dad1c6df13b4d65e0bb8ac90ad34 Mon Sep 17 00:00:00 2001 From: reynisson Date: Sun, 21 Nov 2021 17:16:01 +0100 Subject: [PATCH] Path the task output data instead of a hard coded 0 --- .../tasks/adapter/out/web/ExternalTaskExecutedWebAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tapas-tasks/src/main/java/ch/unisg/tapastasks/tasks/adapter/out/web/ExternalTaskExecutedWebAdapter.java b/tapas-tasks/src/main/java/ch/unisg/tapastasks/tasks/adapter/out/web/ExternalTaskExecutedWebAdapter.java index 4e18349..c0e3651 100644 --- a/tapas-tasks/src/main/java/ch/unisg/tapastasks/tasks/adapter/out/web/ExternalTaskExecutedWebAdapter.java +++ b/tapas-tasks/src/main/java/ch/unisg/tapastasks/tasks/adapter/out/web/ExternalTaskExecutedWebAdapter.java @@ -44,7 +44,7 @@ public class ExternalTaskExecutedWebAdapter implements ExternalTaskExecutedEvent op2 = new JSONObject() .put("op", "add") .put("path", "/outputData") - .put("value", "0"); + .put("value", externalTaskExecutedEvent.getOutputData()); } catch (JSONException e) { logger.log(Level.SEVERE, e.getLocalizedMessage(), e); return;