Skip to main content

Rules

The Rule folder contains sub-folders for Bags and each type of Rule allowed in the Target or Source Map

Target MapSource Map
Target Map foldersSource Map folders

You can read more about the types of Rule and Bag, and how you can use them, here: Rules and Bags

The screens for Bags and Rules are slightly different and are described below.

Bags

List View

Clicking on the Bags folder in the Project Explorer opens the Bags list.

Bags List

This screen provides a summary of the Bags.

General Tab

This tab has three fields, to record the Name, Description and Comments about the Bag.

Bag General tab

The Name is the only mandatory field, but as with Description and Comments fields elsewhere in the Studio, it is good practice to use these to record additional informative details about the migration mapping for other users.

Definition Tab

This screen has two sub-tabs, Methods and Properties.

Methods

Bag Definition Methods

The top section of the screen lists the Methods used by the Bag.

The sections below display the Return format, Parameters, Flags and Flag Parameters of the Method selected. This varies, depending on the Type of Method; Lookup or Manual.

Properties

Bag Definition Properties

This screen shows the details of any Properties of the Bag.

Code Tab

This screen has two tabs, Specification and Implementation.

Specification

Bag Code Specification

This is where the analyst describes in free-text what each of the Manual Methods should do.

Implementation

Bag Code Implementation

This screen displays the code for the Manual Methods after it has been implemented by a developer.

Rules

List View

Clicking on any Rules folder in the Project Explorer opens the relevant Rules list.

Rules List

This screen provides a summary of the Rules.

General Tab

This tab has three fields, to record the Name, Description and Comments about the Bag.

Rule General tab

The Name is the only mandatory field, but as with Description and Comments fields elsewhere in the Studio, it is good practice to use these to record additional informative details about the migration mapping for other users.

Definition Tab

The appearance of this screen varies, depending on whether the Type selected is Manual or Lookup.

Manual

Rule Definition Manual

The three sections of this screen are used to define the Parameters, Flags and Flag Parameters used by the Manual Rule.

Lookup

Rule Definition Lookup

This screen is used to specify how the Lookup Rule uses a Valueset to return a value.

Code Tab

This tab is only present for Manual Rules. It contains two sub-tabs; Specification and Implementation.

Specification

Rule Code Specification

This is where the analyst describes in free-text what the Manual Rule should do.

Implementation

Rule Code Implementation

This screen displays the code for the Manual Rule after it has been implemented by a developer.