Conditional rules

Conditional logic allows you to specify that certain conditions must be met, before triggering an action. The available actions are show or hide, the trigger for these actions is defined within rules.

JSON
Copy
ParameterDescription
action

The action to take when a condition is triggered

  • show
  • hide
conditions

A list of condition objects that represent the rule’s conditions that have to be met, so that the action can be applied to the affected tags or tag groups.

trigger_tag_name name of a tag that belongs to that recipient

  • a tag name matching the trigger_tag_name specified must be present in the recipient's list of tags
  • has to be unique for the rule, i.e. two conditions within a rule cannot have the same trigger tags
  • the trigger tag cannot be of type date_signed_field

criteria the criteria of the condition which causes the specified action to be activated

  • can be one of the following: has_value or no_value
affected_tag_names

A list of tag names which are affected by the rule

  • specified tag names must be present in the recipient's list of tags
  • names in this array cannot appear more than once for a given recipient
  • a name cannot also be listed as a trigger tag in the conditions for this rule i.e. a tag cannot affect its own behaviour
affected_tag_group_names

A list of tag names which are affected by the rule

  • specified tag names must be present in the recipient's list of tags
  • names in this array cannot appear more than once for a given recipient
  • a name cannot also be listed as a trigger tag in the conditions for this rule i.e. a tag cannot affect its own behaviour
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
Conditional rules