User guide
Data Integration with Sybase Avaki Studio 65
Using global parameters
variables.global.State.length == 2
If you leave the Validation Expression field blank, Studio performs no validation
for this parameter.
• Validation Error Expression: (Optional) enter an expression that evaluates to an
error message. The error message is returned whenever an invalid parameter value
causes the validation expression to evaluate to false. Enclose any strings in double
quotes. Refer to the value of the variable being validated by its fully qualified
name: variables.global.<name>. For example, for a variable called State,
you might enter
"Please enter a 2-letter state code for the " +
"variable \'State.\' You entered: " +
variables.global.State
If you leave the Validation Error Expression field blank, Studio uses a generic error
message.
Click OK to create the parameter.
Modifying global parameters
To edit global parameters, select one in the View Model Parameters tab and click the
Edit button . You can also double-click the variable in the table. This opens the
same Global Parameter Properties dialog, where you can edit the parameter’s proper-
ties.
Deleting global parameters
To delete parameters, select them in the list and click the Delete Parameter button.
Reordering global parameters
You can change the order of parameters in the list. To move a parameter, select it and
click the Move Up or Move Down button.
Note The order in which the parameters appear in the View Model Parameters
tab is the same order in which they will appear to calling applications.