« FieldHasValue »

This condition is verified when a given field has a given value.

Properties

You can find below a list of parameters usable by this condition.

Property Title
* fieldName Name of the field
* fieldValue Value of the field

Name of the field

Property

fieldName

Required?

Yes

Description

Name of the wanted field.

Value of the field

Property

fieldValue

Required?

Yes

Description

The value the field must have in order for the condition to be verified.

Example

activation {
    items {
        colorIsRed {
            type = fieldHasValue
            fieldName = color
            fieldValue = red
        }
    }
}