Welcome to Portal

?Unknown\pull-down

Welcome to Zoho Cares

Bienvenido a Soporte de Zoho

Search our knowledge base, ask the community or submit a request.

Workflow Rules for Projects

Workflow rules let you manage projects more efficiently by creating criteria and actions that satisfy business needs. For the Workflow Rule to function, a trigger that runs the rule and an action are required. Workflow Rules can be added, edited, and disabled.
For e.g., if you want projects assigned to a particular user given the highest priority and automatically set as a Strict Project, you can set conditions as shown.

In this instance, when a project is created, the rule automatically checks the first condition: If the project owner is Monica Hemsworth, it will update the priority to High, enable Strict Project, set the start date to Today's date, and associate the project to the group Enterprise Users. If this condition is not met, the next condition is checked and so on till a matching condition is found. The rule will exit after the first matching condition is found without checking the subsequent conditions.
Workflow rules are associated with project layouts. When creating a rule, users will have the option to select layouts or associate it with All Layouts. If specific layouts are selected, the workflow rule will apply to projects associated with those layouts.
Feature Availability: Latest user based Enterprise plan
A maximum of 20 workflow rules can be created or associated per project layout.

Benefits of Workflow Rules for Projects

  1. Automate project functions
  2. Automatically update project fields
  3. Send email notifications for updates
  4. Workflow rules will trigger automatically if they are enabled and if the condition matches
  5. Send out email alerts
  6. Associate webhooks and custom functions

Add a Workflow Rule

You can add as many Workflow Rules as desired for Tasks.
  1. Navigate to   > Project Automation > Workflow Rules.
  2. Click New Workflow Rule.
  3. Enter a Rule Name and a Description.
  4. Select layouts.
    All Layouts: The rule will check for conditions in all the projects
    Specific layouts: The rule will check for conditions only in the projects associated with the selected layout
  5. Select the triggers for the rule to Execute On. Multiple triggers can be selected.
    Creation: The rule will trigger when the project is created
    Update: The rule will trigger when the project is updated. The rule can be set to trigger for all fields or specific field updates.
    Commented: The rule will trigger when a comment is added to the project
    Archive: The rule will trigger when the project is archived
    Unarchive: The rule will trigger when the project is moved back to active
    Trashed: The rule will trigger when the project is trashed
  6. Click Next.
  7. Click Add Criteria under Condition 1, choose a criteria and select value from the given options.
    Multiple criteria can be added under the same condition by hovering over the criteria and clicking icon on the right side.

  8. Click Done to set criteria.
  9. Click Add Action, choose an action from the given options.
    Update Field: Update specific fields with a predetermined value
    Associate Webook: The Webhook will be triggered when the criteria is met
    Associate Custom Function: The Custom Function will be triggered when the criteria is met
    Associate Email Alert: Trigger an email notification when the criteria is met

  10. Click the icon below the condition to add the next condition.
  11. Check the Execute the next workflow rule box if you want to execute the next workflow rule in the Workflow Rule list view.
  12. Click Save Rule.

Edit Workflow Rule

  1. Navigate to   > Project Automation > Workflow Rules.
  2. Hover over a rule and then click  and select Edit to modify the workflow rule.
  3. Click Save.

Delete Workflow Rule

  1. Navigate to   > Project Automation> Workflow Rules.
  2. Hover over a rule and then click  and select Delete.
  3. Confirm your action.

Executing Workflow Rules

Workflow rules are executed automatically if they are enabled.
  1. Navigate to   > Project Automation > Workflow Rules.
  2. Enable the rules that need to be applied.
  3. Select the Execute Next Rule option if you want the rules to be executed one after the other.
  4. The Workflow rules will run automatically and check for matching conditions within the rule.
    Note: The rule will execute when the first matching condition is found and update the fields or execute custom function or trigger a webhook as per the action selected. The subsequent conditions will not be checked.
  5. The rules will stop executing at the end of the list or at the rule where Execute Next Rule option is not selected.

Reorder Workflow Rules

Workflow rules can be reordered. The order can affect the sequence in which they are triggered.
  1. Navigate to   > Project Automation > Workflow Rules.
  2. Hover over the workflow rule you would like to reorder and click .
  3. Drag and swap the workflow rules. You can reorder them as many times as you want until you get the desired order.

Helpful?24
Updated: 1 year ago
Share :
1 comment

Based on my testing, it would appear that reordering Workflow Rules doesn't have an impact on the order in which they execute.  Or, at least it doesn't wait for one rule (calling a custom function) to complete before calling the next.  This combined with the fact that Custom Functions updating fields doesn't trigger other Workflow Rules AND the fact that I can't invoke another Workflow Rule directly from a custom function leaves me still without a solution.