Workflow Rules for Time Logs
Workflow rules help you manage time logs efficiently by defining criteria and actions that run automatically when specific conditions are met. These rules allow you to trigger updates, send notifications, or execute custom functions when time logs are added or updated.
A workflow rule requires:
- A trigger that determines when the rule should run.
- Criteria that determine whether the rule should apply.
- Actions that are executed automatically when the criteria are met.
Use case:
For example, you may want to notify the project manager whenever a time log exceeds a certain number of hours.
You can create a workflow rule that triggers when a time log is added. Set criteria such as Log hours greater than 8. When this condition is met, an email alert can be sent to the project manager.
Add a Workflow Rule
- Navigate to
> Automation > Workflow Rules.
- Select the Time Logs tab and click New Workflow Rule.
- Enter a Rule Name and Description.
- Choose how the rule will be executed:
- Based on User Action (for example, when a time log is added or edited)
- Based on Date & Time
Date and time based workflow rules cannot be applied to All Layouts. Select a specific layout to configure and execute the rule.
- Click Add Criteria, choose a field, and select the required value.
- Click Add Action and choose one of the following:
- Update Field
- Associate Webhook
- Associate Custom Function
- Associate Email Alert
- Associate Zoho Flow Action
- Select Execute the next workflow rule if you want the next rule in the list to run after this rule.
- Click Save Rule.
Edit a Workflow Rule
- Navigate to
> Automation > Workflow Rules. - Select the Time Logs tab.
- Hover over the rule and click Edit.
- Modify the required conditions or actions.
- Click Save.
Executing Workflow Rules
Workflow rules are executed automatically when they are enabled.
- Navigate to
> Automation > Workflow Rules.
- Select the Time Logs tab.
- Enable the rules that need to be applied.
- Select Execute Next Rule if you want multiple rules to run sequentially.
- If Execute the next workflow rule is enabled, the system continues evaluating the next rule in the list. If it is disabled, execution stops after the current rule.
- The rule runs when the first matching condition is found. After executing the action, the remaining conditions in that rule are not checked.
Reorder Workflow Rules
The order of workflow rules determines the sequence in which they are evaluated.
- Navigate to
> Automation > Workflow Rules.
- Select the Time Logs tab.
- Hover over a rule and click the reorder icon (
).
- Drag and rearrange the rules to the required position.
You can reorder the rules multiple times until the required order is achieved.
Delete a Workflow Rule
- Navigate to
> Automation > Workflow Rules.
- Select the Time Logs tab.
- Hover over the rule and click Delete.
- Confirm your action.