From 2f2a07e0e5cd5f8ecc5a3fed71f296cb3896809a Mon Sep 17 00:00:00 2001 From: Elena Kuleshov Date: Fri, 15 Mar 2019 13:08:49 -0400 Subject: Update Tasks API with additional fields Update Tasks API with additional fields and new valid response Change-Id: I39d85ae599f9274373bbcf66dce4752ee75f16ed Issue-ID: SO-1594 Signed-off-by: Kuleshov, Elena --- .../main/groovy/org/onap/so/bpmn/common/scripts/ManualHandling.groovy | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bpmn/MSOCommonBPMN/src/main/groovy/org/onap') diff --git a/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/ManualHandling.groovy b/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/ManualHandling.groovy index 8c67a42b6d..cf7290a654 100644 --- a/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/ManualHandling.groovy +++ b/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/ManualHandling.groovy @@ -157,6 +157,8 @@ public class ManualHandling extends AbstractServiceTaskProcessor { taskVariables.put("buildingBlockName", buildingBlockName) taskVariables.put("buildingBlockStep", buildingBlockStep) taskVariables.put("validResponses", validResponses) + taskVariables.put("description", "") + taskVariables.put("timeout", "") TaskService taskService = execution.getProcessEngineServices().getTaskService() Task manualTask = taskService.newTask(taskId) @@ -211,6 +213,8 @@ public class ManualHandling extends AbstractServiceTaskProcessor { taskVariables.put("buildingBlockName", buildingBlockName) taskVariables.put("buildingBlockStep", buildingBlockStep) taskVariables.put("validResponses", validResponses) + taskVariables.put("description", "") + taskVariables.put("timeout", "") TaskService taskService = execution.getProcessEngineServices().getTaskService() -- cgit 1.2.3-korg