Difference between revisions of "Recurring Workflow"

From SmartWiki
Jump to: navigation, search
Line 25: Line 25:
 
[[File:WF_Connector_1st_of_month.png]] [[File:WF_Connector_not_1st_of_month.png]]
 
[[File:WF_Connector_1st_of_month.png]] [[File:WF_Connector_not_1st_of_month.png]]
  
 
+
==See Also==
 +
* [[Workflow Condition Examples]]
 
[[Category:Workflows]]
 
[[Category:Workflows]]

Revision as of 12:40, 16 July 2013

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

Accordingly its ability to use variables is limited. These 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 5 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. and Acknowledgement with no recipients) to manage the branching based on the date, and an empty task to manage the 1 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 WF.png

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

WF Connector 1st of month.png WF Connector not 1st of month.png

See Also