Site Building

Combining Conditions for Drupal 7

Check your version

This tutorial covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Alternate resources

Rules guide (

Sprout Video

This screencast explains how to use AND and OR groups in Rules to configure more complex conditions. This is demonstrated by creating a rule that notifies administrators when content is promoted to front page using an OR group. (The same procedure can be used to create an AND group.)

The screencast covers:

  • How to combine conditions
  • How to create an OR group
  • Some advice about the order of conditions
  • How to delete reaction rules
  • Why you shouldn’t use the “send e-mail to all users in a role” action
  • Why it might be useful to have messages printed out when configuring complex rules

Additional resources

Rules guide (