You can create and configure rules that determine whether an ad hoc task should be displayed for execution for the currently selected item or items. As long as all of the configured rules return true when evaluated against the currently selected item or items, the ad hoc task is displayed; otherwise, it is not available for execution. If no items are currently selected, all tasks are displayed regardless of defined filter rules.
Note the following considerations regarding filter rules:
-
User interaction is not supported in filter rules.
-
Task lists for rules configured as filter rules are not executed regardless of the result of the rule evaluation. These rules are used strictly to determine whether or not an ad hoc task should be displayed.
-
Filter rules do not prevent a user from executing an ad hoc task if the user has access to it.
Once a filter rule has been configured for an ad hoc task, a Filter Rules folder is displayed under the task in the Repositories pane within the Workflow tab.
To create filter rules for an ad hoc task: