Hey,
I want to make a chain of emails with workflow, i.e, the first email when you register, the second email the day later you register and the third the next day, to do that i have 3 workflow:
1- Worflow:
Moment of execution when you save the record.
Execution on new records.
No conditions.
Action, send an email.
2- Workflow:
Moment of execution, always.
Execution, every register.
Conditions, data created equal to now - 24 hours.
Action, send an email.
3- Workflow:
Moment of execution, always.
Execution, every register.
Conditions, data created equal to now - 48 hours.
Action, send an email.
But it’s not working, what am i doing wrong?
Thanks!
Are any of the emails working? Have you got your crontab set up correctly? There should be an entry like the following with the directory changed to where your instance of SuiteCRM is located:
Also in case it’s an issue with sending emails rather than the workflow, for testing purposes you could change it from sending an email to creating a task to see if it works.
Hey thanks for answering, the problem was in the server that host the database, also do you think these conditions are what i want or there is something you would change?
Thanks!
That should work, but I would make sure repeated runs isn’t checked (as you don’t want to send lots of the same email to the same person) and change your equal to now - 24 hours and now - 48 hours to <= now - 24 hours and <= now - 48 hours, just in case the cron doesn’t run on the minute those values become equal.
1 Like