code: public static void applyDisabledJobs(final List<DisabledJob> disabledJobs,
        final ExecutableFlowBase exflow) {
      for (final DisabledJob disabled : disabledJobs) {
        if (disabled.isEmbeddedFlow()) {
          final ExecutableNode node = exflow.getExecutableNode(disabled.getName());
          if (node != null && node instanceof ExecutableFlowBase) {
            applyDisabledJobs(disabled.getChildren(), (ExecutableFlowBase) node);
          }
         } else { // job
          final ExecutableNode node = exflow.getExecutableNode(disabled.getName());
          if (node != null) {
            node.setStatus(Status.DISABLED);
          }
        }
      }
    }
docs: Change job status to disabled in exflow if the job is in disabledJobs