Possible to use relative date in Rules?

Events happening in the community are now at Drupal community events on www.drupal.org.
ksambrook's picture

Hello,

I would like to use the Rules module to automatically assign users specific roles, based on the user's current age. I have set-up a custom date field during the user registration process (field_birthdate). I also have created a rule that is executed every time the user logs in.

However, I'm having trouble using relative dates (i.e. field_birthdate + X years) in the data comparison condition. I receive an error message (The integrity check failed with the following error message: "condition data_is: Missing configuration for parameter data.").

Is there a way I can fix this error and/or a better way to go about solving my current problem?

Thanks in advance!

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: