I want a predefined user ID to request users as friends after 7 days. Here is my rule, but didn't work. I ran cron too. I'm using user relationships too.

Event: User is a day older
Condition: numeric comparison. Number 1: [user:reg-days] equal to Number 2: 7
Action: Requester: 3. Requestee: [user:uid]

The [user:uid] is taken from the token under "user who's statistics have changed"

Any suggestions?

Comments

jrivelli’s picture

I actually have a few rules setup with [user:reg-days] and it seems that none of them are working properly.
One rule was supposed to trigger after 15 days of user registration and send a privatemsg and when a user turned 15 days the msg did not send. Does it happen on 2 weeks and 1 day old or on the 16th day? so 2 weeks 2 days?

I feel that this may be my error and I need to wait till that extra day?

jrivelli’s picture

Has anyone else at least been able to successfully complete an action using the numeric comparison of days older with [user:reg-days] token?

jrivelli’s picture

I've tested the privatemsg and add a friend to do it when an account signs up and it works and with some other triggers. I believe I have narrowed it down to this trigger and or token not being correct in some way. So, hope that helps Liam! :)

jrivelli’s picture

Category: support » bug