Adding custom attributes during condition definition

When you define conditions for a particular order, you can optionally choose to add your own custom attributes to be evaluated as part of the condition.

About this task

To add custom attributes during condition definition, use the following procedure:

Procedure

  1. Custom attributes can be added in the condition builder by clicking Choose Field and selecting Enter Your Own Attribute option in the statement builder window.
  2. In the {Enter Your Own Attribute} field, enter the attribute name to include in the condition, and click Add.

    For example, to include an attribute named CustomerEmailId, enter that attribute in the text box and continue with statement creation. This attribute is included in evaluating the condition.

    Note: The corresponding template for the condition should be extended to include the above attribute.

    This field is limited only to the unexposed key attributes that are pre-defined by the Sterling Order Management System as opposed to any XML attribute that you can enter.

  3. Once the name is entered, the rest of the condition can be built in the same way as the pre-defined attributes.

    The custom attributes created during condition definition can be used as part of the service definition framework or in pipeline definitions for creating events or conditions.

    Note: Custom attributes defined in this manner are available only when defining this condition. The attribute entered is not available for re-use in other conditions.