code: public List<ScheduledFlowTrigger> getScheduledFlowTriggerJobs() {
      try {
        final Scheduler quartzScheduler = this.scheduler.getScheduler();
        final List<String> groupNames = quartzScheduler.getJobGroupNames();
  
        final List<ScheduledFlowTrigger> flowTriggerJobDetails = new ArrayList<>();
        for (final String groupName : groupNames) {
          final JobKey jobKey = new JobKey(FlowTriggerQuartzJob.JOB_NAME, groupName);
          ScheduledFlowTrigger scheduledFlowTrigger = null;
          try {
            final JobDetail job = quartzScheduler.getJobDetail(jobKey);
            final JobDataMap jobDataMap = job.getJobDataMap();
  
            final String flowId = jobDataMap.getString(FlowTriggerQuartzJob.FLOW_ID);
            final int projectId = jobDataMap.getInt(FlowTriggerQuartzJob.PROJECT_ID);
            final FlowTrigger flowTrigger = (FlowTrigger) jobDataMap
                .get(FlowTriggerQuartzJob.FLOW_TRIGGER);
            final String submitUser = jobDataMap.getString(FlowTriggerQuartzJob.SUBMIT_USER);
            final List<? extends Trigger> quartzTriggers = quartzScheduler.getTriggersOfJob(jobKey);
            final boolean isPaused = this.scheduler
                .isJobPaused(FlowTriggerQuartzJob.JOB_NAME, groupName);
            final Project project = projectManager.getProject(projectId);
            final Flow flow = project.getFlow(flowId);
            scheduledFlowTrigger = new ScheduledFlowTrigger(projectId,
                this.projectManager.getProject(projectId).getName(),
                flowId, flowTrigger, submitUser, quartzTriggers.isEmpty() ? null
                : quartzTriggers.get(0), isPaused, flow.isLocked());
          } catch (final Exception ex) {
            logger.error("Unable to get flow trigger by job key {}", jobKey, ex);
            scheduledFlowTrigger = null;
          }
  
          flowTriggerJobDetails.add(scheduledFlowTrigger);
        }
        return flowTriggerJobDetails;
      } catch (final Exception ex) {
        logger.error("Unable to get scheduled flow triggers", ex);
        return new ArrayList<>();
      }
    }
docs: Retrieve the list of scheduled flow triggers from quartz database