General processing example  Multiple rule and component processing example

Chapter 1: Overview

Rule component processing example

This example describes how processing occurs through a rule component. Processing through a component object and its filters is important because the output from the component’s pre-filters is concatenated into the rule’s blob, then the component’s post-filters are run on the contents of the rule’s blob, not on the component’s blob.

Figure 1-8: Rule component processing

  1. Enter the rule component object. The component’s blob is empty.

  2. Copy the data in the selected field object, literal, group, or datalink object into the component’s blob.

  3. Move the data in the component’s blob to the rule’s blob.

  4. Run the post-filters sequentially, from the first listed in the component to the last, against the data in the rule’s blob. As each post-filter finishes, its output becomes the current contents of the rule’s blob and the next post-filter operates on those contents.

NoteSince a component’s post-filters run on the rule object’s blob, this means that when there are multiple components within the rule object, each component’s post-filters act upon the entire contents of the rule’s blob, not just on the part that the post-filters’ component had placed into the rule’s blob.





Copyright © 2005. Sybase Inc. All rights reserved. Multiple rule and component processing example

View this book as PDF