Site Building

Data Types and Data Selection for Drupal 7

This page is archived

We're keeping this page up as a courtesy to folks who may need to refer to old instructions. We don't plan to update this page.

Alternate resources

Rules guide (Drupal.org)

Sprout Video

This tutorial presents data types and the data selection method for input in Rules. This is the most important difference between Rules 1 (D6) and Rules 2 (D7).

  • How to use data selection to explore available data and drill down to selected properties
  • Using the data comparison condition
  • Using the set a data value action
  • That Rules recognizes different types of data, and verifies when necessary
  • That Rules knows that not all data is writable, and verifies when necessary
  • How to create composite tokens, extending the tokens listed in the replacement patterns
  • Making field values accessible to Rules
  • Using reference fields to access new data, such as tags on an article or nodes in a node reference field

Additional resources

Rules guide (Drupal.org)