Skip to main content

Running and scheduling workflows

On the Operate tab of a workflow you start runs, manage schedules, and read what each run did. A workflow moves data only when you or a schedule starts a run. There is no streaming ingestion.

Runs and schedules use the published version of the workflow, so publish first. To test a draft, use Preview. For the runs of all workflows together, see Production monitoring.

The Operate tab of a published workflow, with Execute, Schedules, Runs, and one run open.
The Operate tab of a published workflow, with Execute, Schedules, Runs, and one run open.

Run a workflow on demand​

  1. Open the workflow and open Operate.
  2. To change input values for this run only, select the arrow next to Execute and enter the values. They go before all other values and do not change the draft.
  3. Select Execute. The run starts and fetches fresh data.
The arrow next to Execute opens Input overrides, where you enter values for one run.
The arrow next to Execute opens Input overrides, where you enter values for one run.

A run fixes its version and its input values when it starts. For where the other values come from, see Inputs and parameters and the precedence reference.

What you seeWhat it meansWhat to do
Execute is disabledThe run settings are loading, or the workflow has no published versionWait, or publish the workflow
Retry loading settings, or Workflow interaction data could not be loadedThe run settings did not load. No run startedSelect Retry loading settings, then Execute
Execution settings opens and names an input, for example Execution input run-time is required. Supply a value before starting the run.A required input has no value and no defaultEnter the value and select Execute again
A message that rejects an inputNo run was created. Your values are still in the formCorrect the input and select Execute again
A refusal with a link to a backfillA backfill writes the same tablesWait until the backfill and its waiting runs are done
This Workflow was published on an older engine. Publish it again before it can run.The published version is too old to runPublish the workflow again, also when nothing changed, and start a new run

Schedule a workflow​

A schedule starts runs automatically, at the times of a cron expression in the timezone that you choose.

  1. Open the workflow, open Operate, and select Schedules.

  2. Select Add schedule (the + in the header of the panel). Choose a preset, such as Every 15 minutes or Top of every hour, or choose Custom schedule….

    The Add schedule menu, with the presets, Custom schedule, and After another workflow.
    The Add schedule menu, with the presets, Custom schedule, and After another workflow.
  3. Fill in the schedule:

    FieldWhat to enter
    Cron expressionFive fields: Minute, Hour, Day (month), Month, and Day (week). For example, 0 6 * * * is every day at 06:00, and 30 8 * * 1 is every Monday at 08:30
    TimezoneAn IANA timezone, for example Europe/London
    Input values (optional)Values for the runs of this schedule. They go before the input groups of the workflow, and after the values that you enter for one run
    Scheduled timestamp target (optional)The input that receives the time at which the schedule fires. See Use the scheduled time as a date window
  4. Save. The new schedule is Disabled.

  5. Publish the workflow if it has no published version.

  6. Turn on Enabled.

If Hypermeter cannot read the expression, it shows an Invalid Cron Expression error that points at the field to correct.

Enable or disable a schedule​

To...Do this
Start or stop the automatic runsUse the Enabled switch, and wait for the status of the schedule to update
Change a scheduleSelect its row, or open its ⋯ menu and select Edit
Remove a scheduleOpen its ⋯ menu, select Delete…, and confirm

Good to know:

  • An enabled schedule shows its next run time. A disabled schedule keeps its settings and history. Runs in progress continue, and Hypermeter does not catch up later on the times that were missed.
  • Publishing does not enable a schedule. Enabled schedules use the new version.
  • An agent can prepare a schedule, or changes to an enabled schedule. Only an owner can enable it or select Apply changes. Until then, the approved timing continues.
  • If a change cannot be applied, the schedule shows the failure. Refresh and check its state before you repeat the action.

Run after another workflow succeeds​

When a workflow reads what another workflow writes, start it when that workflow succeeds. In the Schedules panel, select Add schedule, then After another workflow…, and choose the other workflow. The schedule row reads After name succeeds.

  • Each successful normal run of the other workflow starts one run. Failed or canceled runs, corrections, and backfill runs start nothing.
  • The new run takes over the scheduled time of the other run, or the start time of a manual run, so its date inputs cover the same period.
  • You enable, disable, and edit the schedule like any other. To wait for a different workflow, delete the schedule and add a new one.
  • A schedule cannot wait for its own workflow, or close a loop of workflows that start each other.

Use the scheduled time as a date window​

A schedule can put the time at which it fires into an input. Other input values of the schedule can then calculate a date window from it. For a monthly run that processes the previous calendar month:

  1. Declare the inputs scheduled_time, period_start, and period_end in the jobs that use them.

  2. In the schedule, choose scheduled_time as the Scheduled timestamp target. The target must be a DateTime input.

  3. Set these input values on the schedule:

    period_start = ${{ date.toStartOfPreviousMonth(inputs.scheduled_time) }}
    period_end = ${{ date.toStartOf(inputs.scheduled_time, "month") }}

Jobs read the values as ${{ inputs.period_start }} and ${{ inputs.period_end }}.

  • Derive each value from scheduled_time or from a fixed value, not from the result of another expression.
  • A run that you start with Execute does not get the values of a schedule. Enter period_start and period_end yourself.
  • For a long expression, select Expand editor.

For the full syntax, see Inputs and parameters.

Backfill a date range​

A backfill processes a long stretch of history one run at a time, for example two years of usage month by month. The next run starts only after the previous run succeeded. Backfill is not enabled by default.

Declare the workflow's period​

A workflow can backfill only when its published version says which inputs hold the period.

  1. Open the Settings tab of the workflow.
  2. Under Run period, choose the period start input and the period end input. Both must be DateTime inputs that your jobs read. The end is exclusive: a period from 1 January to 1 February covers all of January.
  3. Choose the Period timezone, for example Europe/Amsterdam.
  4. Select Save period, then publish the workflow.

With this setting you state that each period can run, and run again, on its own.

If you later delete, rename, or change the type of an input that the period uses, Run period shows a warning. Correct the input or the period before you backfill. Clear period removes the period.

Start a backfill​

  1. Open Operate, select the arrow next to Execute, and select Run a backfill….

  2. Fill in the backfill:

    FieldWhat to enter
    From and ThroughThe date range, in the timezone of the period. Through includes the whole last day
    Each run coversA number of days, weeks, or months. One month is the default
    Execution orderOldest first (the default) or Newest first. The order matters when periods update the same records, or when a calculation needs earlier history
  3. Review the plan: the number of runs, the range, the order, the version, and the dates of the first and the last run.

  4. Select Start N runs.

Runs follow the calendar: a day starts at local midnight, a month on the 1st, and a week on Monday, or on the day that the cubes of weekly Charge jobs use. The first and the last run can cover a partial period. A backfill has at most 1,000 runs by default.

What you seeWhat it meansWhat to do
The plan cannot startThrough is before From, the range has too many runs, or the weekly Charge jobs do not agree on the first day of the weekCorrect the range or the length of a run
A refusal that names a jobNo job reads the period inputs, or the time window of a Charge job is not based on themCorrect the job, publish, and start again
Start N runs is disabled, with a list of other workA run or another backfill still writes the same tablesStart again when that work has finished
The start is not confirmed, for example after a network errorHypermeter does not know yet whether the backfill startedSelect Start N runs again, or Open backfill history. The same request never starts a second backfill. If you changed the settings in the meantime, select Send the earlier launch again first
The first run fails and names a Charge jobA period boundary splits a billing period of that Charge job, for example a billing month that starts on the 15thChange the periods of the backfill

An agent can propose a backfill and follow its progress. Only you can start it.

Follow a backfill​

The Runs list shows each backfill with its progress, for example 7 / 24. Select it to see each period with its run. The page of such a run links back to the backfill, for example Backfill #42.

A backfill keeps the version and the input values from its start, also when you publish a new version.

StatusMeaningWhat to do
RunningThe runs are in progressNothing
Needs attentionA run failed or was canceled (for example Aug 2026 failed), or the next run cannot start (Can't start the next month). Later runs waitPoint at the line for the reason. Correct the cause and select Retry and continue
CompletedEvery run succeededNothing
StoppedYou stopped the backfillNothing
  • Retry and continue runs the blocked period again and reuses the jobs that completed. It is the only way to restart a run of a backfill. While you see Finishing the stopped run, a retry is refused: try again when the message is gone.
  • Stop backfill asks you to confirm. It cancels the run in progress. Finished runs keep their data. The backfill marks the remaining runs Not run and counts them, for example 5 months not run.

Schedules and manual runs during a backfill​

Until a backfill is done, it holds the tables that it writes.

  • A schedule of any workflow that writes those tables waits. Its runs are kept, and the backfill shows how many, for example 3 scheduled runs waiting.
  • When the backfill completes or is stopped, the waiting runs start one at a time, the oldest first. While the backfill needs attention, they stay on hold.
  • Execute and Restart on a run that writes the same tables are refused, with a link to the backfill.

Watch a run​

The Runs list on Operate shows every run of the workflow with its status. Select a run to open it.

To...Do this
Find a runSelect Filters and filter by date range, status, or run. For one attempt, type the run number and the attempt number, for example 103.2
See which version ranSelect Version N in the run header
Switch between the job table and an overviewSelect the view button in the run header (Switch to summary view). The summary counts the jobs by status and shows which jobs depend on which
See technical detailsOpen the ⋮ menu of the run, then Technical details

When Production Data is turned on for your organization, the ⋮ menu also has Correct data. For what it can do, see Correct production data.

Run numbers count up for the whole organization, so the runs of one workflow can skip numbers. A run keeps the job names of its version, also after a rename.

StatusMeaning
Waiting for dispatchThe run is queued and has not started yet
RunningJobs are running
CompletedEvery job finished, and each required cube is usable
ErrorA job failed, or the publication of a required cube failed
CanceledYou stopped the run before it finished

A scheduled run that cannot start, for example because a required input has no value, creates no failed run. Hypermeter raises an attention item and the schedule stays on. See Alerts and notifications.

Jobs of a run​

The run has one row for each job, grouped as Extract, Load, Transform, and Charge.

To...Do this
Read the log of a jobSelect the row
Open the overview of a jobSelect the name of the job
See the input values that the job usedSelect the info button of the job and open Inputs. Original input shows the expression behind a value. Dates show in UTC, and secrets show only their names
Copy the IDs of the jobSelect the info button and open Identifiers

Execution-time value unavailable under Inputs means that no value was recorded. This is normal for running or interrupted jobs, older runs, and Load jobs.

A Charge job that publishes to a cube also shows the publication: Waiting, Publishing, and then Published or Not published.

Job logs​

A finished job shows its complete log, oldest line first. A running job shows its last 20 lines as Live.

A completed run with the row of the Extract job open. Above the log are the search field, the level filter, and the buttons for compact logs and for copying.
A completed run with the row of the Extract job open. Above the log are the search field, the level filter, and the buttons for compact logs and for copying.
To...Do this
Find a lineSearch in Search logs..., or filter by Debug, Info, Warn, and Error. Clear levels shows all lines again
Copy the logSelect Copy log. With an active filter, only the matching lines are copied
See more or less detailSelect Show full logs for the time, level, and extra fields of each line, or Show compact logs for the messages

Cancel, retry, and restart​

ActionWhat it does
CancelStops a run that is in progress. Its status becomes Canceled
RestartTries a failed run again as a new attempt. The button opens a menu with All jobs and Failed jobs. The earlier attempt is kept, so you can compare the two

A restart keeps the version and the input values of the run, and reuses the jobs that completed. If a Charge job completed but its cube was not published, that Charge job runs again. Use a restart when the configuration is still correct, for example after a problem at the source.

A restart does not use a newer version. After you changed and published the workflow, start a new run with Execute. Do the same when you see This run was built on an older engine and can't be restarted.

Run one workflow one run at a time where you can. When runs overlap and a Transform job would replace its table with older data, the job stops with an error and the current table stays. Start a new run: a restart cannot repair this.

When a run fails​

A failed run has the status Error and shows an error tail: the first job that failed, with about its last 10 log lines and a link to the full log.

  1. Open the failed run on Operate.
  2. Read the error tail. Start with the first job that failed: later jobs often fail only because of it.
  3. Correct the job, publish the change on the Review tab, and start a new run.

To find the kind of failure and where to correct it, see Troubleshooting run failures.