Skip to content

Function in registry: Schedule Trigger node for periodic/workflow execution #7

@Fanna1119

Description

@Fanna1119

Function in registry for Schedule Trigger node

Implement a Schedule Trigger node to run workflows at fixed intervals and times, similar to the Cron utility available in Unix-like systems.

Key Features

  • Multiple Trigger Rules:
    • Allow users to add multiple rules for when the node should trigger, supporting different schedules in a single node configuration.
  • Trigger Interval Selection:
    • Users should be able to select the trigger interval category:
      • Seconds (e.g., every 30 seconds)
      • Minutes (e.g., every 5 minutes)
      • Hours (e.g., every 6 hours at 30 minutes past the hour)
      • Days (e.g., every 2 days at 9:15am)
      • Weeks (e.g., every 2 weeks on Monday at 3:30pm)
      • Months (e.g., every 3 months on the 28th at 9:00am)
      • Custom Cron Expression
  • Parameterisation per Interval:
    • Each interval type should display only the parameters relevant to that schedule. Examples include:
      • Seconds Between Triggers, Minutes Between Triggers, etc.
      • For hourly schedules: select minute of the hour.
      • For daily/weekly/monthly: specify hour(s), minute(s), days of week/month.
      • Custom Cron: accept cron expressions entered manually (crontab guru reference).

Example Parameters

  • Seconds Between Triggers
  • Minutes Between Triggers
  • Hours Between Triggers
  • Trigger at Minute (0-59)
  • Trigger at Hour (for days/weeks/months)
  • Trigger at Day of Month (for months)
  • Trigger on Weekdays (for weeks)
  • Custom Cron Expression

Goal:
Add a configurable Schedule Trigger node to the function registry to enable automating workflow starts at arbitrary intervals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions