...
Type: Value must be
All
Constraints: A listing of sub-constraints. All sub-constraints in this list must evaluate to be true for the overall constraint to be true. Any VERA constraint type may be included in this list.
Optional Properties
None
Evaluation
True
: All specified sub-constraints evaluate toTrue
.False
: Any specified sub-constraint evaluates toFalse
.
Example
Determine whether both of the following conditions are true:
the current record has a Category field value of System
the current user is a Manager of the current record type
Code Block |
---|
Constraints": [
{
"Type": "All",
"Constraints": [
{
"Type": "Field Is Equal",
"Name": "Type",
"Value": "Configuration"
},
{
"Type": "Field Is One Of",
"Name": "Regulation",
"Values": ["GxP"]
}
]
}
] |
Constraint Type: Any
Evaluates a list of specified sub-constraints to determine if at least one of them is true.
...
Type: Value must be
Any
Constraints: A listing of sub-constraints. Only one sub-constraint in this list must evaluate to be true for the overall constraint to be true. Any VERA constraint type may be included in this list.
Optional Properties
None
Evaluation
True
: At least one specified sub-constraint evaluates toTrue
.False
: All of the specified sub-constraints evaluate toFalse
.
Example
Determine if either of the following conditions are true:
the current record has a Category value of System
the current record has a GxP value of Y.
Code Block |
---|
{
"Type": "Any",
"Constraints": [
{
"Type": "Field Is Equal",
"Name": "Category",
"Value": "System",
"Ignore Case": "Yes"
},
{
"Type": "Field Is Equal",
"Name": "GxP",
"Value": "Y",
"Ignore Case": "Yes"
}
]
} |
Constraint Type: Not
Evaluates a list of specified sub-constraints to determine if all of them are false.
...
Type: Value must be
Not
Constraints: A listing of sub-constraints. All sub-constraints in this list must evaluate to be false for the overall constraint to be true. Any VERA constraint type may be included in this list.
Optional Properties
None
Evaluation
True
: All specified sub-constraints evaluate toFalse
.False
: At least one of the specified sub-constraints evaluates toTrue
.
Example
Determine if both of the following conditions are false:
the current record has a Category value of System
the current record has a GxP value of Y.
Code Block |
---|
{
"Type": "Not",
"Constraints": [
{
"Type": "Field Is Equal",
"Name": "Category",
"Value": "System",
"Ignore Case": "Yes"
},
{
"Type": "Field Is Equal",
"Name": "GxP",
"Value": "Y",
"Ignore Case": "Yes"
}
]
} |