diff options
author | Steve Smokowski <ss835w@att.com> | 2020-10-07 13:59:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-10-07 13:59:08 +0000 |
commit | dbef19af78e71d4170236d88dbe67fd7e3dc261f (patch) | |
tree | e95389a4f14aacafb430a89d9f597de1cf516652 | |
parent | c78b9b566d82c60318ca5a235ce00ca735be430b (diff) | |
parent | 6f0d9612a6a11378bd4ab2b3e8ad185691699670 (diff) |
Merge "Only continue to wait on error when final"
-rw-r--r-- | bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SDNCAdapterRestV1.groovy | 4 |
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) + } } } |