Defining rules for linking records

You can define rules for linking existing records. When a record is found that matches the criteria, the found record is linked to the originating record (even if there is no link control on the related form). If the appropriate link control is configured in the related form, a link to the found record appears on the record after the agent saves it. Options include selecting specific fields and values, and determining how multiple matches are managed. A record can be linked only once to another record, but can be linked to multiple records.

When configuring the link, you can use values from any field in a record or select user attributes such as email address. Selecting record field values allows you to find and link a target record based on values of the current record. Selecting a user attribute allows you to find and link a target record based on the user identified in the Updated By field. This is the user who created the record or who is the most recent user to edit the record. The user attribute option is especially useful for linking to contact records.


This rule definition does not trigger an automatic search for a contact's assets. You configure that action separately. For more information, see Configuring asset lookup for contacts and Integrating BMC Client Management with FootPrints.


  • Configure the record types that you want to link.
  • Create the relationship between those record types.

To define a rule that links records

  1. Open the item where you want to define the rule:
    1. Click the Administration tab.
    2. In the appropriate section, click the name of the container that is the destination, or click Manage to open the container Administration page. Then double-click the container.
      The container details page appears.
    3. In the left pane, click the item link (such as Record Definitions in workspaces).
      The Items page appears.
    4. Double-click the item that you want to modify.
      The Item details page appears. 
  2. In the left pane, click Business Rules.
  3. Click New Business Rule and select the appropriate rule type.
    The Rule Builder page appears. For detailed information about configuring different types of rules, see Types of business rules.

  4. In the Business Rule Name field, enter a descriptive name for this rule.
  5. (Optional) In the Description field, type a useful description.
  6. (Optional) In the Business Rule Schedule Type field, select a work schedule.
  7. In the Triggers section:
    1. Click Add new trigger.
    2. In the Available Triggers field, select an appropriate trigger.
      After Save is the most common option used for this type of rule but you can use this action for all on-server and time-based triggers (including Workflow triggers). Once the user saves the ticket, links to the found records appear in the appropriate link control. For more information, see Selecting triggers for business rules.
    3. Select On Update.
      This is also the most common option, but you can also select On Create.
    4. Click Create.
  8. In the Criteria section, create any conditions that will trigger this rule.
    For more information, see Defining criteria for business rules.
  9. In the Actions section:
    1. Click Add new action.
      For more information, see Defining actions for business rules.
    2. In the Action field, select Link Existing Record.
    3. In the Link Type field, select the relationship that should be used for this rule.
    4. In the Target Record Type field, select the container and item that you want to link.
    5. In the Field in Linked Record field, select the appropriate field in the target (linked) record.
      It is best to select fields that are similar. For example, if you select Employee Name in the linked record, you would select User Name in the originating record.
    6. In the Field in This Record field, select the type of field in this (current) record. Then, select the field.
      Record field values include any field in the record (used for linking to any record type). User attribute values include user-related fields such as user ID, user name, primary email, and so on (used for linking to contact record types).
    7. In the Condition field, select the operator for locating the correct record.
      Options are begins with, contains, and equal to for text fields and only equal to for any other field type.
    8. In the More than 1 Found field, select whether to link to the first found record or to link to all found records.

      If the found record is already linked to the current record, no link is created. If the found record is already linked to another record, a new link is added to the current record.

  10. Click Save.
  11. Publish the container to implement your changes:

    1. In the breadcrumb trail, click the container link.

    2. Click Save and Publish.

      A confirmation message appears.

    3. Click Yes.

      The Publication Succeeded message appears, showing the number of errors and warnings.

There is no need to publish the source container.

Related topics

Configuring business rules

Defining rules to copy all fields from a linked item

Defining rules to copy specific fields from a linked item

Managing business rules

Deleting business rules

Was this page helpful? Yes No Submitting... Thank you