X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=bpmn%2Fso-bpmn-infrastructure-common%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fonap%2Fso%2Fbpmn%2Finfrastructure%2Fscripts%2FDoAllocateNSSI.groovy;h=fc873be28ef90dc71b0e63594f9e9ac5fc07fbbb;hb=d04f54dedba3e4ade3ac92282c1e3a408a29e70b;hp=6981d9432466b409d64e6059deed7e3cdb717d31;hpb=3e1963019895ce83c17816943c3a191bbd4994f7;p=so.git diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoAllocateNSSI.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoAllocateNSSI.groovy index 6981d94324..fc873be28e 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoAllocateNSSI.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoAllocateNSSI.groovy @@ -110,7 +110,9 @@ class DoAllocateNSSI extends AbstractServiceTaskProcessor { execution.setVariable("nssiAllocateStatus", jobStatusResponse) if (jobStatusResponse.getResponseDescriptor().getProgress() == 100) { + if (nssiId == null) { nssiAllocateResult.setNssiId(jobStatusResponse.getResponseDescriptor().getNssiId()) + } execution.setVariable("jobFinished", true) } }