docs: public static ScriptFactory getScriptFactory() {
      ProcessEngineConfigurationImpl processEngineConfiguration = Context.getProcessEngineConfiguration();
      if (processEngineConfiguration != null) {
        return processEngineConfiguration.getScriptFactory();
      }
      else {
        return new ScriptFactory();
      }
    }