in ddm-bpm-extension/src/main/java/com/epam/digital/data/platform/bpms/extension/delegate/connector/rest/ExternalSystemConnectorDelegate.java [211:221]
private String defineOperationName(DelegateExecution execution) {
var operationName = operationNameVariable.from(execution).get();
var methodName = methodNameVariable.from(execution).get();
if (Objects.isNull(operationName) && Objects.isNull(methodName)) {
throw new IllegalArgumentException(
"Variable not found. One of 'operationName' or 'methodName' must be specified.");
} else {
return Objects.nonNull(methodName) ? methodName : operationName;
}
}