Creating join record definitions
To create a join record definition
- Log in to the BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application for which you need to create the join record.
- On the Records tab, click New and select Join Record.
The Create New Join Record window appears as shown in the following image: On the Record Definitions tab, specify the properties for the record definition.
The following table provides information about the properties:
Field
Description
Primary record
The main record for combining the data.
Secondary record
The secondary record for combining the data .
Join type
The type of join for the record definition. You can select either of the join record types:
- Inner join—Selects entries only when corresponding values exist in both records.
- Outer join—Includes all of the entries from the record that you select as primary, even entries for which there are no matching entries in the secondary record.
- On the Join Criteria tab, specify the expression for joining the records, and click Next.The query for joining the records is restricted to the conditions specified in the expression.
- On the Field Selection tab, select the fields from the primary and secondary records that you need to include in the join record, and click Save.
The following image shows the Field Selection tab: - Save the record.
To select a row-level security (RLS) algorithm for join records
- Log in to BMC Helix Innovation Studio, navigate to the Workspace tab, and select the application.
- On the Records tab, navigate to the record definition to which you want to add RLS algorithm.
- In the Security labels section, from RLS algorithm list select the following row-level security (RLS) algorithm option for enhanced row access control:
- Default
- RLS Split
- Combined Likes
- Subquery
- Click Save.
Using the Subquery algorithm for Join records
A join record retrieves data from multiple record definitions. To use the Subquery algorithm on join records, you must first set the Subquery algorithm for the primary and secondary records.
When you enable the Subquery algorithm for a join record, the algorithm waits until the migration (which is the updating of the security table records for the associated parent table records) is complete on the primary and secondary records. If any related records run for a long time or fail, the Subquery algorithm skips the join record, and you might need to run the algorithm once again after the migration is complete.
consider the following points when you enable the Subquery algorithm on a join record:
- Enable the S table for all member records that source the dynamic access fields.
- Identify the dynamic access fields on the join record.
- Identify the member records from where the dynamic access fields are coming.