Chapter 11 Working with Business Process Models


Variable checks

The following BPM model checks are made on variables:

Check Description and Correction
Variable name and code uniqueness Variable 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
Undefined data type The variable should have a defined data type.

Manual correction: Set a correct data type for the variable in the Data Type list of its property sheet

Automatic correction: None
Variable used out of scope The variable must be used in the scope where it is defined. When a variable is used in a different package or composite process from the one where it is defined, a shortcut is created. The package or composite process that owns the shortcut must be a child of the package or composite process that owns the variable object. In other cases, the variable is not visible, as it is not defined in the parent scope.

Manual correction: Move the variable under the common parent or duplicate it

Automatic correction: Moves the variable under the common ascendant
Data type coherence A variable mapped to a message should be of the same type as the message.

Manual correction: Change the type of the variable to be the same as the messages to which it is mapped

Automatic correction: Changes the variable type when it is mapped only once to a message or mapped several times but to the same message

 


Copyright (C) 2007. Sybase Inc. All rights reserved.