From afc0e5846e6f08b3da5237e112bced4609578508 Mon Sep 17 00:00:00 2001
From: Elena Kuleshov <evn@att.com>
Date: Tue, 6 Aug 2019 15:55:54 -0400
Subject: Set suppressRollback variable for ActivityBBs

SuppressRollback variable needs to be true for ActivityBBs

Issue-ID: SO-2163
Signed-off-by: Kuleshov, Elena <evn@att.com>
Change-Id: I64754e9fc010b48eb8ee9b41fd0fe31c0fbb2592
---
 .../java/org/onap/so/bpmn/infrastructure/activity/ExecuteActivity.java   | 1 +
 1 file changed, 1 insertion(+)

(limited to 'bpmn/so-bpmn-tasks/src/main/java/org')

diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/activity/ExecuteActivity.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/activity/ExecuteActivity.java
index 638ecefa49..a436f7b5c2 100644
--- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/activity/ExecuteActivity.java
+++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/activity/ExecuteActivity.java
@@ -99,6 +99,7 @@ public class ExecuteActivity implements JavaDelegate {
             variables.put(G_REQUEST_ID, requestId);
             variables.put("retryCount", 1);
             variables.put("aLaCarte", true);
+            variables.put("suppressRollback", true);
 
             execution.getVariables().forEach((key, value) -> {
                 if (value instanceof Serializable) {
-- 
cgit 1.2.3-korg