Target Design

Add a Complex Rule

Complex rules are managed in Target Design. They are not edited or submitted in Map. These mappings have a message on the record stating that the rule was created in Target Design. The mapping for a field with a Complex rule displays in Map with an Action of Manual Rule.  Users can add a description of a Complex rule with documentation and comments. Complex rules provide information that the Data Services developer uses when writing the rule. When an AutoGen request is processed, a placeholder where Complex rules can be developed is created.

Refer to Data Services AutoGen for more information.

NOTE: If a field has both a Complex and Basic rule, the mapping also displays in Map with an Action of Manual Rule on the Field Mappings page.

NOTE: Complex rules can only be added to a Target field if the Target has a Design Status of In Design.

NOTE: After a Target with a Target field that has a Basic rule or Complex rule assigned is synced with Map, these rules are automatically sent to the Mapping Approval page for a developer to review them; however, they do not require approval to be used by Data Services AutoGen.

NOTE: If a Target’s Source mappings and Target mappings ({Target Rules}) are complete, and a Complex rule is added to a Target or field, Source mappings are not overwritten when the Target is synced to Map. Target mappings (as in, {Target Rules}) are overwritten when the Target is synced.

NOTE: Complex rules cannot be added to zLegacy fields.

To add a Complex rule in Target Design:

  1. Select Target Rules > Complex Rules in the Navigation pane.

    NOTE: If no Complex rules have been added, the page displays in add mode. Otherwise, click Add.

    View the field descriptions for the Rules: Complex Rule page

  2. Enter a unique name for the rule in the NAME field.

    NOTE: The default name New Complex Rule cannot be used.

  3. Enter a description of the rule in the DESCRIPTION field.
  4. Update the ACTIVE check box as needed.

    NOTE: If a Complex rule is active, it can be assigned to a Target field.

  5. Click Save; the Vertical View displays.
  6. Select a type from the Rule Type list box.

    NOTE: This value, and the information in the fields listed below, is for documentation purposes only.

  7. Enter code, pseudo code or a rule definition in the Rule Syntax field.
  8. Enter supplemental information or instructions in the Comment field.
  9. Click Save.

    NOTE: Once saved, the documented rule can be assigned to Target fields. Refer to Assign the Complex Rule to a Target Field and Execution Stage for more information.

    This section contains the following topics: