5.6 Creating Relationships

Relationship definitions can only be created under a Database Element and tell the deployed adapter definition how and where relationships are created between elements.

5.6.1 Understanding Relationships Requirements Organization

When defining a relationship definition, the requirements are organized in three main tabs:

  • Relationship: Specify basic descriptive information and target area for the relationship.

  • Query: Define a query to gather and filter database information to create the relationship connection. For more information, see Section 6.1, Defining a Query and Section 6.9, Testing Queries.

  • Schedule: Set up scheduling requirements for running the definition’s query and checking for new information at adapter runtime. For more information, see Section 6.10, Scheduling Queries.

5.6.2 Creating a Relationship Definition

To create a relationship definition:

  1. In the Definition Navigator pane, select the Database Element that is the parent element of the new relationship definition.

  2. Right-click the Database Element, then select New Relationship or click (Create a Relationship Definition).

    A relationship definition is created under the element.

5.6.3 Specifying Basic Properties

To specify basic properties for a Relationship Definition:

  1. Select the relationship definition in the Definition Navigator pane.

  2. In the right pane, the Relationship icon is selected by default.

    The Definition Properties pane shows basic properties for the alarm definition:

  3. Specify the Name and Description for the Relationship Definition (this information is used only by the Definition Editor).

  4. Select a target area by selecting a folder and database element combination from the Relationship Target drop-down list.

5.6.4 Next Actions to Perform

  1. Define and test a query.

    For instructions, see Section 6.1, Defining a Query and Section 6.9, Testing Queries.

  2. Pick a schedule for the query.

    For instructions, see Section 6.10, Scheduling Queries.