aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main/groovy
diff options
context:
space:
mode:
authorBoslet, Cory <cory.boslet@att.com>2020-10-02 22:28:16 -0400
committerBenjamin, Max (mb388a) <mb388a@att.com>2020-10-02 22:28:16 -0400
commit6f0d9612a6a11378bd4ab2b3e8ad185691699670 (patch)
tree95963753ec2950a124a8cf208c094c6e3397b743 /bpmn/MSOCommonBPMN/src/main/groovy
parentaf0af5c344ce2449f146b3d772be0eec34c3a838 (diff)
Only continue to wait on error when final
Only continue to wait on error when final indicator is N Issue-ID: SO-3285 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I2914762a6f2776dcb39ab68422b237ffc7eda0f0
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/main/groovy')
-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)
+ }
}
}