Skip to main content

Scheduled variations

The module lets you schedule a change to the value of a field on a set of records, to be performed automatically at a given date and time. For example, you can schedule a price or a setting to change from a certain date, without having to do it manually at that moment.

Each variation specifies the table, the field, the records involved (through a filter), the new value and the execution date/time.

Search for the Scheduled Variations page using the search function ("Tell me what you want to do").

When opened, the page shows only variations not yet executed (status Scheduled or Error). To also see executed ones, remove the filter on the Status field.

Field Description
Table No. Table containing the records to change.
Field No. Field to change. The lookup shows the fields of the selected table.
Scheduled Action Operation to perform. Currently Modify Value is available.
Description Description of the variation. It is filled in automatically as "action of field in table" when you choose the table, field or action; it can be edited.
Table Filter Filter identifying the records to change. It is set with the assist-edit button (...), which opens a window with the primary key fields of the table; if empty, the variation applies to all records of the table.
New Value Value to assign to the field. It must be entered in the field's format (text, date, time, date/time, number, option as a number, Yes/No).
Scheduled Date/Time Date and time from which the variation can be executed.
Status Scheduled, Executed or Error. Not editable.
Execution Date/Time Date and time when the variation was executed (or failed).
Last Error Message of the error that prevented execution.
User ID User who created the variation (filled in automatically).

Variations with status Executed can no longer be changed or deleted.

Action Description
Run Now After confirmation, immediately executes the selected variations without waiting for the scheduled date/time. Variations already executed are skipped.
Reset Status For a variation in Error, after confirmation sets it back to Scheduled and clears the last error, so that it is executed again.
  1. Open Scheduled Variations and create a new line.
  2. Choose Table No. and Field No..
  3. Set Scheduled Action to Modify Value.
  4. Use the ... button of the Table Filter field to specify the records to change.
  5. Enter the New Value.
  6. Enter the Scheduled Date/Time.
  • Automatic execution is performed by a job queue entry that runs the processing of scheduled variations. Each run processes all variations with status Scheduled, an action set and a scheduled date/time already passed.
  • For each record matching the filter, the field is set to the new value, applying the same validations as a manual entry.
  • If the variation succeeds, the status becomes Executed and the execution date/time is recorded. On error the status becomes Error and the message is shown in Last Error; the other variations are still processed.