PowerDesigner provides default model checks to verify the validity of correlation keys.
Check |
Description and Correction |
---|---|
Correlation key name and code uniqueness |
Correlation key names and codes must be unique in the namespace. Manual correction: Modify the duplicate name/code Automatic correction: Appends a number to the duplicate name/code |
Empty list of variables |
A correlation key must have at least one variable. Manual correction: Attach a variable to the correlation key Automatic correction: None |
Correlation key used out of scope |
A correlation key must be used within the scope of its definition. Manual correction: Choose only correlation keys defined under the parent scope of the process Automatic correction: Moves out of scope correlation keys to common ascendant and leaves a shortcut at the initial location |
Unused correlation key |
The correlation key should be used by an activity. Manual correction: Use the correlation key object in a process implemented by an operation or delete the useless correlation key Automatic correction: None |