The following article refers to functionality available in Workflow builder, which can be accessed in one of the following locations, depending on your configuration:
Administration > HR > Workflows
Administration > HR > Workflows > Workflows
When creating a workflow step you will be given the option to denote when the workflow step is triggered in relation to your employee, other workflow steps or specific calendar dates.
It is important to know that when a workflow triggers its steps it does not necessarily do this sequentially - all steps trigger based on their trigger conditions set in the "When should this happen?" fields.
The 'When should this happen?' fields look like this:
- In the first field, enter a number of days, weeks or months.
- In the second field, choose days, weeks, or months as appropriate.
- In the third field, choose before or after.
- In the fourth field, choose from the available trigger criteria. The various options for this are described below.
Together, these form a statement, for example:
- Employee Start Date
If you want the step to trigger as soon as the trigger criteria is met you can set it to happen 0 days after. So, to trigger a step on the employee's start date, the trigger conditions would read:
- Employee Start Date
To make a workflow sequential, steps can be set to trigger immediately after the previous step has completed, like so:
- Last Workflow Action
There are many options as to when you would like a workflow step to trigger. These options are listed below:
- Start date - The employee's start date.
- Leave date - The employee's leave date.
- Contract end date - The date an employees contract expires/ends.
- Resignation date - The date an employee resigned.
- Last working day - The employee's last working day.
- Probationary period end date - The last day of an employee's probation.
- Birthday - The date of the employee's birth in the current year.
- Anniversary Date - The yearly anniversary of the employee's start date in this current year.
- Submission Date - The day that a form or change is submitted.
- Creation Date - The day the form is assigned or published to the employee.
- Last workflow action - Immediately after the previous step is performed. Please note that the order of your workflow steps are critical when using this trigger or your workflow may trigger in the wrong order.
- Interview Date - The scheduled interview date for a candidate on the system.
- Timeoff start date - The first day of an employee's time off.
- Timeoff end date - The last day of an employee's time off.
- Training expiry date - The day an employee's completed training expires.
- Start of current holiday year - The first day of your holiday year.
- Start of current financial year - The first day of your financial year.
- None - This workflow step does not fire.
One of the more commonly used of these is Creation Date as this will trigger the step based around the date that the workflow is published or triggered via its associated actions. This is the best option to select if your workflow is designed to give actions that you want the associated user to address as soon as the workflow is activated, as setting this the conditions to "0 Days After Creation Date" will cause the workflow to fire immediately upon publishing.