Script template for validation script for variability parameters
When you specify that a variability parameter has validation script, Modeler creates the following template in the script.
Function EvaluateConstraint
If <constraint is met> Then
EvaluateConstraint = True
Else
Script.Result = "Why the constraint is not met"
EvaluateConstraint = False
End If
End Function