SequenceFlow_3 SequenceFlow_14 import org.onap.so.bpmn.common.scripts.* def sdncAdapterRestV1 = new SDNCAdapterRestV1() def statusCode = execution.getVariable('SDNCREST_sdncAdapterStatusCode') String response = String.valueOf(execution.getVariable('SDNCREST_sdncAdapterResponse')) def isDebugLogEnabled = execution.getVariable('isDebugLogEnabled') def processKey = sdncAdapterRestV1.getProcessKey(execution) sdncAdapterRestV1.getLogger().debug("{} received response from SDNCAdapter: statusCode= {} response={}", processKey, statusCode, (response.isEmpty() ? "" : "\n" + response)) SequenceFlow_17 SequenceFlow_35 import org.onap.so.bpmn.common.scripts.* def exceptionUtil = new ExceptionUtil() exceptionUtil.buildWorkflowException(execution, 5300, "Failed to communicate with SDNCAdapter") SequenceFlow_23 SequenceFlow_36 import org.onap.so.bpmn.common.scripts.* String res = execution.getVariable('SDNCREST_sdncAdapterResponse') def sdncAdapterRestV1 = new SDNCAdapterRestV1() sdncAdapterRestV1.sdncAdapterBuildWorkflowException(execution, res) SequenceFlow_14 SequenceFlow_17 SequenceFlow_23 SequenceFlow_24 #{execution.getVariable("SDNCREST_sdncAdapterStatusCode") == '404'} #{execution.getVariable("SDNCREST_sdncAdapterStatusCode") == '200' || execution.getVariable("SDNCREST_sdncAdapterStatusCode") == '202'} SequenceFlow_35 SequenceFlow_36 SequenceFlow_2 SequenceFlow_3 import org.onap.so.bpmn.common.scripts.* def sdncAdapterRestV1 = new SDNCAdapterRestV1() sdncAdapterRestV1.sendRequestToSDNCAdapter(execution) SequenceFlow_9 SequenceFlow_2 import org.onap.so.bpmn.common.scripts.* def sdncAdapterRestV1 = new SDNCAdapterRestV1() sdncAdapterRestV1.preProcessRequest(execution) SequenceFlow_9 SequenceFlow_27 SequenceFlow_34 import org.onap.so.bpmn.common.scripts.* def exceptionUtil = new ExceptionUtil() exceptionUtil.buildWorkflowException(execution, 5320, "SDNCAdapter Callback Timeout Error") SequenceFlow_34 SequenceFlow_44 SequenceFlow_1 import org.onap.so.bpmn.common.scripts.* def sdncAdapterRestV1 = new SDNCAdapterRestV1() sdncAdapterRestV1.setSuccessIndicator(execution, true) execution.setVariable('WorkflowResponse', sdncAdapterRestV1.getLastCallback(execution)) SequenceFlow_1 SequenceFlow_27 ${SDNCREST_timeout} SequenceFlow_24 SequenceFlow_44 SequenceFlow_41 SequenceFlow_42 import org.onap.so.bpmn.common.scripts.* def sdncAdapterRestV1 = new SDNCAdapterRestV1() sdncAdapterRestV1.processCallback(execution) SequenceFlow_25 SequenceFlow_30 SequenceFlow_39 SequenceFlow_43 #{execution.getVariable('SDNCREST_ackFinalIndicator')=="Y"} SequenceFlow_42 SequenceFlow_8 SequenceFlow_30 #{execution.getVariable("WorkflowException") != null} SequenceFlow_25 SequenceFlow_43 SequenceFlow_41 SequenceFlow_39 SequenceFlow_8 SequenceFlow_4 SequenceFlow_4 SequenceFlow_11 import org.onap.so.bpmn.common.scripts.* def exUtil = new ExceptionUtil() exUtil.processSubflowsBPMNException(execution) SequenceFlow_11