Performing simple filtering

A description and examples of simple filtering.

Description

For simple filtering, the text file specified in the REQUIRED_ATTRIBUTE_FILE property must contain a list of the fully qualified attributes in the Retail_Item business object that must be present and not NULL or BLANK. It is composed, as follows:
  • A fully qualified business object attribute name on a single line.
  • On the next single line, another fully qualified attribute name.
Any number of attributes can be included in this way. The File Missing Attribute logic reads the attribute names from this file and employs an external Java(TM) class called RetailUtility in the Java™ package com.ibm.wbi.retail.utils to determine if the required attributes listed in the file contain data in the Retail_Item business object being processed. It then adds the names of any required attributes missing data to a Retail_Item business object attribute named in the configuration property CUST_DATA_MISS_ATTR. This attribute consists of a multiple cardinality array of Retail_Missing_Attributes business objects. If there are any names in this missing attribute child business object array, the ItemValidation collaboration object passes the Retail_Item business object to the ToMissingData port to start a process for obtaining the missing data.

Examples

The following examples show how the missing attribute list is populated:

Parent topic: Validating an item by requiring data for specific attributes