Recurring Workflow

From SmartWiki
Revision as of 12:09, 15 June 2016 by Ciaran Donnelly (talk | contribs) (Configuring a Monthly Recurring Workflow)

Jump to: navigation, search

Monthly RecurringWF.png

A recurring workflow is a Workflow that is not triggered against any particular object.

Accordingly, its ability to use variables is limited. Recurring workflows can be useful for tasks that need to recur at regular intervals, such as a weekly reminder e-mail.

They can also be used with ReportProperty to send summary report information.


When using a recurring workflow, the tasks are always connected in a loop, and there must be at least one connector that has a delay. Otherwise, once the workflow is activated the workflow would loop continuously without any break.

The system is configured to automatically stop processing any workflows configured this way after five loops.

Once you have configured the Workflow, the Activate button can be used to start the workflow. Once activated, a Deactivate button will be visible that can be used to stop the workflow.

Configuring a Monthly Recurring Workflow

If you wish to have a recurring workflow send an e-mail on a particular day or days of the month, you can use the following conditions:

  • date_format(now(),"%d")="01" - Will be true only on the 1st of the month
  • date_format(now(),"%d") in ("01","15") - Will be true on the 1st and 15th of the month.

You will need to configure an empty task (i.e. an Acknowledgement with no recipients) to manage the branching based on the date, and an empty task to manage the one-day delay so the workflow will loop daily and connect to the task that sends the e-mail on the appropriate day(s).


Monthly Recurring WFs.png

The Workflow Connectors attached to the "Empty Task for Branching" should have the following Conditions:

WF Connector1stofmonth.png

See Also