From 9b274dfdbe5933de325324591d710b277b71c1b7 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 6 Dec 2023 22:40:44 +0100 Subject: [PATCH] fix: input data for service tasks --- .../planqk/exec-completion/PlanQKServiceTaskCompletion.js | 2 -- .../bpmn-q/test/tests/planqk/planqk-transformation.spec.js | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/bpmn-q/modeler-component/extensions/planqk/exec-completion/PlanQKServiceTaskCompletion.js b/components/bpmn-q/modeler-component/extensions/planqk/exec-completion/PlanQKServiceTaskCompletion.js index b2c3aa45..a6f05fe1 100644 --- a/components/bpmn-q/modeler-component/extensions/planqk/exec-completion/PlanQKServiceTaskCompletion.js +++ b/components/bpmn-q/modeler-component/extensions/planqk/exec-completion/PlanQKServiceTaskCompletion.js @@ -243,8 +243,6 @@ function applyTaskInput2Subprocess(taskBO, subprocessBO, bpmnFactory) { subProcessIo.inputParameters.push(...taskIo.inputParameters); - setInputParameter(subprocessBO, "params", taskBO.params, bpmnFactory); - setInputParameter(subprocessBO, "data", taskBO.data, bpmnFactory); setInputParameter( subprocessBO, "serviceEndpoint", diff --git a/components/bpmn-q/test/tests/planqk/planqk-transformation.spec.js b/components/bpmn-q/test/tests/planqk/planqk-transformation.spec.js index 9b6b8d69..068c6a56 100644 --- a/components/bpmn-q/test/tests/planqk/planqk-transformation.spec.js +++ b/components/bpmn-q/test/tests/planqk/planqk-transformation.spec.js @@ -81,6 +81,7 @@ describe("Test the PlanQKServiceTaskCompletion of the PlanQK extension.", functi config: { serviceEndpointBaseUrl: "http://dummy.com", subscriptions: [sub1, sub2, sub3], + tokenUrl: "http://tokenendpoint.com", oauthInfoByAppMap: { app1: { consumerKey: "app1ConsumerKey",