Skip to main content

Process scheduler

In this section you can establish the automatic start of processes by establishing a scheduler in the definition of the processes.

Scheduler

For its correct configuration, a regular expression that regulates the start of the new instances of the process must be introduced. To help you in the creation of the expression, a help text is displayed that translates the expression into natural language.

Optionally, you can set the "Overlay Policy" configuration property. This configuration manage how the scheduler handle when it is time to start a Process Instance but there is one started by the scheduler that has not been completed. The allowed values are:

  • Skip: It does not start a new process.
  • Allow All: Starts a new Process Instance regardless of the state of previous Instances. With this policy, more than one Process Instance can run simultaneously.

Once the regular expression is set, you have the option to set it to Running or Paused state. This allows you, for example, to pause the creation of new instances at a given time without having to delete the set regular expression.

Example

We want to set the start of a new process every two days at 12 o'clock. To do so, the following regular expression is established.

0 12 */2 * *

To avoid unnecessary process creation, the system currently implements the following restriction. A new process will not be started until a previous process invoked by the scheduler is completed. This constraint does not apply to traditional ways of starting a process, so you can always start new processes independently of the scheduler.

Kuflow Logo