Operator Message Reply Expressions
A reply expression lets you control the type of reply an Operator Message requires with regular expressions. For example:
-
^Yes|No|Maybe$
: Requires the operator to choose from the three options: Yes, No, or Maybe. \d+
: Requires the operator to enter any number of digits (for example, if you want the operator to enter a numeric ID).*
: Requires the operator to enter any reply, as long as they enter something..+
: Requires the operator to enter any reply that does not include spaces.
Note: Reply expressions are available only for Operator Messages created with the System_OperatorMessage Process Definition or with RedwoodScript.
Note: Spaces before and after the reply are trimmed. Multiple spaces and/or tabs in a sequence in the reply are replaced with one space. This means replies consisting of spaces and/or tabs only are not allowed. Also, it is not possible for an Operator to answer a reply expression such as \s
or \s+
.