IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Defining and transforming data > Create relationships

Adding, editing and removing instance data

Working on the pre-population of instance data for the relationship can be done on the Instance Data property page of the relationship. This page is only available on a relationship with a static mapping. A static relationship must have at least one set of values defined for a transformation mapping. The set consists of instance data objects, representing the relationship instances. Each instance data object may have none, one, or several role instances defined depending on the type of relationship. A one-to-one relationship will always have one role instance for each role in the model defined in each instance data object. In the one-to-many and many-to-many relationship there might be none, one, or several role instances defined for each role in the model in each instance data object. You can define user defined property values for each instance data object (representing the relationship) as well as for each role instance object if there are any user defined properties defined in the model. For each role instance you must also define the key attribute values.

The Instance Data page has two sections. On the left side there is a tree containing all instance data objects and their role instances. On the right side there is the user defined properties table, where you can enter values for the user defined properties for each instance data or role instance. If a role instance is selected in the tree on the left side, the key attributes table shows the key attribute names for which you can enter values. If a relationship instance is selected in the tree on the left side, the key attributes table is intentionally empty. The instance data represents the instance of the relationship. The role instance represents the instance of a role.

Instance data can be added by using the Add button. To remove a specific instance data, select the instance data to be removed and use the Remove button. The instance data ID can be modified by entering a new value for it. There are only integer values allowed to be used for the instance data ID. For the property value table, apply the same rules as for the user defined properties table of the relationship or role.

Each role instance must have the key attribute values set. This can be done by working on the key attribute value table. Here you can enter values for a specific key attribute, which should be used in the static mapping.

Create relationships