Spanish Total.js
English
Documentation For AI agents
Contents

Scheduled starts

Start a process by itself at set times with the Crontab component of Flow.

.md Website
On this page

A process can start by itself at set times, for example a safety check every Monday at 8:00. The Crontab component of the Flow library starts it, and the BPM component Create makes the task.

Add the Crontab component

The Crontab is in the library of Flow components:

  1. In the designer, open the Add (plus) menu of the toolbar and select Download components. See Download components.
  2. Find Crontab and install it.

It appears in the group Triggers of the designer.

Example: a weekly safety check

This process creates a task Safety check: Warehouse every Monday at 8:00. It waits in the Inbox of people with the permission staff, and closes when one of them sends the form with DONE.

A process that starts every Monday: Crontab, Create, the form Safety check and Done

1. Create the process and a form Safety check with a field Notes and a button DONE. See Forms.

2. Drag Crontab, Create (group Workflows), the form Safety check and Close onto the canvas, and connect:

  • the output of Crontab to the input of Create,
  • the output Created of Create to the input No data of Safety check,
  • the output DONE of Safety check to the input of Close.

3. Double-click Crontab and set it:

SettingValue
Timers0 8 * * 1
Time zone offset0 for UTC, or the offset of your time zone (see Timers below)
TypeObject
Random dataoff
Data{ area: 'Warehouse' }

4. Double-click Create. In Name, enter Create, and in Template name, enter Safety check: {{ value.area }}. The data of the Crontab becomes the data of the task, so value.area is Warehouse.

5. Double-click Safety check. Set Workflow action to Step, Permissions to staff and, if you want, Expiration to 2 days. See Workflow actions.

6. Double-click Close and enter Done in Name and in Template result.

7. Select APPLY in the toolbar, and then publish the process.

From now on, every Monday at 8:00 a new task waits in the Inbox.

The settings of the Crontab with the timer of Mondays at 8:00

Timers

A timer has five parts: the minute, the hour, the day of the month, the month and the day of the week (0 is Sunday). * means every one.

TimerWhen
0 8 * * 1Every Monday at 8:00.
30 7 * * 1-5Monday to Friday at 7:30.
0 9 1 * *The first day of every month at 9:00.
0 12 * * *Every day at noon.

The server counts the time in UTC. Time zone offset turns it into your time: enter the offset in minutes that the Crontab shows under the field for your browser, for example -60 for Central European winter time. With 0, the timers are in UTC. Add several timers to the list to start the process at several times.

Good to know

  • Only the published version starts tasks. The draft in the designer does not, also while it is open, and neither do older versions.
  • A started task has no person who created it, so the Create menu of the Inbox does not need a Start node.
  • To stop the starts, remove the timers or the Crontab, or close the process. See Processes.
Made in Europe