I'm trying to set up a rule triggered after a user logs in.
I'd like to add a condition where I first check if the user has an expiration date and if the expiration is within the next 30 days.

However I can't seem to find any replacement token for the expiration date.

The expiration date is a proper attribute of the user object but it doesn't seem to show in Rules for data testing.

Any ideas?

Comments

nixar created an issue. See original summary.

trackleft2’s picture

Is this still an issue in the 2.1.x version?

shelane’s picture

Status: Active » Closed (outdated)

There is a RulesAction plugin. If this does not work in the 2.x version, please create a new issue.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.