Show TOC

Defining RulesLocate this document in the navigation structure

Use

You can define one or more rules for background jobs. In each rule you set conditions that a message must meet to be processed by the job. When a job is started, the system reads the available rules and proceeds in one of the following ways:

  • If there are two or more rules defined, at least one of the defined rules must be met for archiving to take place.

  • If no rules are defined, the job processes all messages that come into consideration for each job type.

    Depending on the job type, there are some implicit conditions that restrict the relevant messages. The archive and delete jobs only take into account messages for which the retention time already has expired. The restart jobs only consider messages that are in Not Delivered state.

You can also define specific parameters for each job.

Prerequisites

You have accessed the tool for managing background jobs. For more information, see Performing Background Processing .

Procedure

Adding Rule Conditions

  1. Select a job and choose Edit .

  2. Choose Rules .

    Use the following input fields to formulate a condition for your rule.

    Input

    Meaning

    Field

    Fields in the message header.

    <Operator>

    Available operators are Equals and Contains .

    Value

    Value that the content of the field must correspond to, or that the content of the field must contain.

  3. When you have finished your entries, choose Add to assign the condition to the current rule.

    You can add further conditions. All conditions of a rule must be met in order for messages to be selected based on this rule.

  4. Once you have finished defining your rule, choose Save .

    The rule appears in the list of rules defined for this job. You can add additional rules or delete existing rules as you require.

Adding Job Parameters

  1. Select a job and choose Edit .

  2. Choose the Parameters tab.

    Note

    The Parameters tab is available only when there are parameters that can be defined for the selected job type.

  3. In the Parameters dropdown list, select a parameter and choose Add .

  4. Enter a value for the parameter.

    For jobs of restart type you can define the following parameters and values:

    • MAX-RESTART determines the number of times the system should try to restart the messages. You must enter a positive integer number.

    • RESTART-BLACKLISTED determines whether this job should restart blacklisted messages or not. You must enter a Boolean value, either true or false . For more information, see Administrator Tasks for Blacklisting .

  5. Choose Save .