Show TOC

Defining RulesLocate this document in the navigation structure

Prerequisites

  • You have accessed the tool for managing background jobs and selected the Adapter Engine Jobs tab. For more information, see Performing Background Processing .

  • You are currently creating a new job, or you have selected a job and started editing it. For more information, see Scheduling Jobs .

Context

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.

Procedure


  1. Choose the Rules tab.

  2. Using the Rule Field options, formulate a condition for your rule as follows:

    1. Use the first menu to select the type of message header you want to use for the rule.

    2. Use the second menu to select the logical operator for the rule.

      Available operators are Equals and Contains .

    3. Use the text field to enter the value that the rule should match.

  3. Do one of the following:

    • You want to append the condition you entered to an existing rule. To do this, select a rule from the table and choose the Append button. This way all the conditions for the selected rule form a logical conjunction: all conditions of a rule must be met in order for messages to be selected based on this rule.

    • You want to create a new rule with condition you entered. To do this, choose the Add button.

  4. Define new rules as necessary, and finally choose the Save button to save the background job.

Results

When it starts a job, 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 has already expired. The restart jobs only consider messages that are in Not Delivered state.