Skip to content

Entity: original has field value

Plugin ID: eca_entity_original_field_value

Available since: 1.0.0

Compares a field value of an entities original by specific properties.

Fields

Field name — config key: field_name

The name of the field whose value to compare.
This field supports tokens.

Type: textfield · Required: no · Default: empty string

Expected field value — config key: expected_value

The expected value.
This field supports tokens.

Type: textfield · Required: no · Default: empty string

Comparison operator — config key: operator

The available comparison operators like equals or less than.
When using the "Defined by token" option, make sure there is a token with this name: eca_entity_original_field_value_operator

Type: select · Required: no · Default: equal

Allowed values: equal, beginswith, endswith, contains, greaterthan, lessthan, atmost, atleast, _eca_token, ''

Comparison operator. Possible values:

  • equal
  • greater than
  • less than
  • starts with
  • ends with
  • contains
  • at least
  • at most
Comparison type — config key: type

The type of the comparison.
When using the "Defined by token" option, make sure there is a token with this name: eca_entity_original_field_value_type

Type: select · Required: no · Default: value

Allowed values: value, natural, numeric, lexical, count, _eca_token, ''

Case sensitive comparison — config key: case

Compare the values based on case sensitivity.

Type: checkbox · Required: no · Default: false

Negate the condition — config key: negate

Negates the condition. Makes TRUE to FALSE and vice versa.

Type: checkbox · Required: no · Default: false

Entity — config key: entity

Provide the token name of the entity that this condition should operate with. Please provide the token name only, without brackets.

Type: textfield · Required: no · Default: empty string

See also: Tokens being forwarded