aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src
diff options
context:
space:
mode:
authorSteve Smokowski <ss835w@att.com>2020-10-07 13:59:08 +0000
committerGerrit Code Review <gerrit@onap.org>2020-10-07 13:59:08 +0000
commitdbef19af78e71d4170236d88dbe67fd7e3dc261f (patch)
treee95389a4f14aacafb430a89d9f597de1cf516652 /bpmn/MSOCommonBPMN/src
parentc78b9b566d82c60318ca5a235ce00ca735be430b (diff)
parent6f0d9612a6a11378bd4ab2b3e8ad185691699670 (diff)
Merge "Only continue to wait on error when final"
Diffstat (limited to 'bpmn/MSOCommonBPMN/src')
-rw-r--r--bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SDNCAdapterRestV1.groovy4
1 files changed, 4 insertions, 0 deletions
diff --git a/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SDNCAdapterRestV1.groovy b/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SDNCAdapterRestV1.groovy
index 669441c320..6377d77d19 100644
--- a/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SDNCAdapterRestV1.groovy
+++ b/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SDNCAdapterRestV1.groovy
@@ -304,6 +304,10 @@ class SDNCAdapterRestV1 extends AbstractServiceTaskProcessor {
Boolean failOnCallbackError = execution.getVariable("failOnCallbackError")
if(failOnCallbackError) {
sdncAdapterBuildWorkflowException(execution, callback)
+ }else {
+ if(ackFinalIndicator.equals('Y')) {
+ sdncAdapterBuildWorkflowException(execution, callback)
+ }
}
}