Working With Task Rules

Task rules affect task behavior. These rules enable users to assign rules directly to tasks, especially when, because a rule is unique to a task, assigning rules isn’t appropriate at the Template, Schedule, or Task Type level. These rules apply to the Tasks for which the rules were configured.

Available task rules:

  • Auto Approve Task: Automatically completes specified approvals only if specified conditions have been met.

    Examples of conditions that could apply to this rule include:

    • Attributes have specified values (including calculated attributes)

    • Predecessor task contains an attribute with a specified value

    When conditions are satisfied, the specified approver levels are marked as complete, thus progressing workflow to the next approval level, or to Closed if no additional approval levels exist.

    This rule runs when the Task status changes to Open with Approver.

  • Auto Submit Task - Automatically submits a task if specified conditions are met.

    When conditions are satisfied, the assignee role is marked as complete, thus progressing workflow to the first approval level, or to Closed if no approval levels exist.

    This rule runs when the Task status changes from Pending to Open with Assignee.

  • Prevent Task Approval: Prevents approval of a task based on attribute values, or other characteristics. This rule runs when the Approver clicks Approve.

  • Prevent Task Submission: Prevents submission of a task based on attribute values, or other characteristics. This rule runs when the Assignee clicks Submit.

  • Send Email on Update: This rule runs based on user actions on the task. Hence, you must set the conditions for the rule appropriately. The most common condition is to have a condition with the Status attribute or the Status Detailed attribute:
    • Status attribute: The only valid value that you can select is Closed. Pending, Open, and Error are all statuses that result from automated actions on the task.
    • Status Detailed attribute: The valid statuses are with the approver.

To work with task rules:

  1. On the Home page, click Tasks, and then Schedule Tasks.
  2. Select the Rules tab to open a New Rule. You can view the following information:
    • Order: The order of precedence.

    • Rule: Name of the Rule

    • Conditions: The choice of what conditions must exist before running the rule

  3. Under Rule, select the type of rule you want to use:
    • Auto Approve Task

    • Auto Submit Task

    • Prevent Task Submission

    • Prevent Task Approval

    • Prevent Task Rejection

    • Send Email on Update

    • Select Create Filter and populate the conditions section or select Use Saved Filter, and then select a filter. The filter selected and configured for the rule determines the conditions that trigger the rule to apply.

    Note:

    When you make changes to a rule definition, the additional information is added to the audit log. You can view the changes both in the History tab as well as the Audit Report.
  4. Optional: Under Description, explain why you configured the rule and how it should be used.
  5. For Approver Level, select the rule for All Levels or select the Approver levels.
  6. Select the Filter to determine the conditions that trigger the rule to apply:
    • Use Saved Filter: The Condition section displays a read-only version of the conditions associated with the saved filter.

    • Create Filter: The Condition section is enabled. Select the conditions that apply for the advanced filter: Conjunction, Source, Attribute, Operator, and Value.

  7. Under Filter Task, select the task to which the conditions should be applied: Current Task, Any Predecessor, Specific Task (provide the Task ID).
  8. See also: