Syntax for Default Values and Validation Rules
This topic describes the syntax to configure the default values and validation rules.
activity - prefix for activity properties/fields. Example: activity.PROP_A1
inventory - prefix for inventory properties/fields. Example: inventory.PROP_I1
resource - prefix for resource properties/fields. Example: resource.PROP_R1
user - prefix for user properties/fields. Example: user.PROP_U1
request - prefix for service request properties/fields. Example: sr.PROP_SR1
activity.PROP_A1 = 100 OR activity.PROP_A1 = 200 - is correct
activity.PROP_A1 = 100 or activity.PROP_A1 = 200 - is incorrect
"string expression"
"12345"
'single'
-
\' – To escape ‘ within single quoted string
-
\" – To escape “ within double quoted string
-
\\ – To escape the backslash
-
\n – To add line breaks between string
-
\t – To add tab space
These escape sequences work with multiline properties only.
-
\radasd => radasd
-
\x123 => x123
-
12345
-
6
Properties and Fields
activity.PROP_A1 = 25
activity.PROP_A1 <> activity.PROP_A2
inventory.`LABEL WITH SPACE`