Skip to content

Entity: compare

Plugin ID: eca_diff_entity

Available since: 2.0.0

Compare 2 entities and return a list of fields that differ

Fields

Return values — config key: return_values

If checked, the list will return values. If unchecked, it will only return the machine names of changed fields.

Type: checkbox · Required: no · Default: false

Name of token — config key: token_name

Provide the name of a token that holds the result list. Please provide the token name only, without brackets.

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

Second entity — config key: compare_token_name

Provide the name of a token that holds the original entity. Please provide the token name only, without brackets.

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

Exclude fields — config key: exclude_fields

List machine names of fields that should be ignored. Provide 1 name per line.

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

Include fields — config key: include_fields

List machine names of fields that should be considered for comparison. Provide 1 name per line. Leave this field empty to include all fields, except for the excluded fields.

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

Entity — config key: object

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

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