Specifications

it is not strictly true for all data types; for example a file path becomes invalid when the target
file is removed.
Properties that contain a variable or a script expression are validated while the flow is running,
since their value cannot be determined at design time. Just before each invocation of the
jobArrived entry point, Switch performs run-time validation for all properties of the flow element
that contain a variable or a script expression. If a property value is invalid, Switch fails the job
with an appropriate error message.
Note that there is NO run-time validation before calling the timerFired entry point (or any of the
other entry points). Using non-static property values from those entry points is risky anyway
since there is no job context (and referencing job context from a script expression or variable in
those circumstances has undefined results).
Validation at design time
Validation of a particular property value is performed at design time if isPropertyValueStatic()
returns true for that property.
The following table describes the standard design-time validation for values entered by a
particular property editor. Note that all property values are of data type string or string list.
Design-time validation requires that the valueProperty editor
Is non-emptySingle-line text
Is non-emptyPassword
Is non-empty and contains only decimal digitsNumber
Is non-empty and has the format “hh:mm” (including the colon) where
h and m stand for a decimal digit, hh and mm include leading zero if
needed, hh is in range 00..23 and mm is in range 00..59
Hours and minutes
Is one of the strings "No" or "Yes" (exact spelling and case)No-yes list
Is one of the custom strings provided for the dropdown listDropdown list
Is the fixed string value selected from a predefined listLiteral
Represents a valid absolute path and that a file exists at the pathChoose file
Represents a valid absolute path and that a folder exists at the pathChoose folder
Is non-empty and has valid regular expression syntaxRegular expression
Is non-empty and has valid filename pattern syntaxFile type
Is one of the strings returned by the getLibraryForProperty entry point
in the script
Select from library
Is non-emptyMulti-line text
N/AScript expression
362
Enfocus Switch 10