protected void executeInternal()

in ddm-bpm-extension/src/main/java/com/epam/digital/data/platform/bpms/extension/delegate/businesskey/DefineProcessBusinessKeyDelegate.java [43:55]


  protected void executeInternal(DelegateExecution execution) {
    var businessKeyValue = businessKey.from(execution).get();

    if (Objects.nonNull(businessKeyValue) &&
        businessKeyValue.length() > BUSINESS_KEY_EXPRESSION_MAX_SIZE) {
      log.info("Business key is too big (more than {} symbols) on {} business process. "
              + "Skipping setting business key...", BUSINESS_KEY_EXPRESSION_MAX_SIZE,
          execution.getProcessDefinitionId());
      return;
    }

    execution.setProcessBusinessKey(businessKeyValue);
  }