Send e-mail from the process with delay ( on specified date)

Hi community,

I have 3 specified dates  (days are calculated from the start date) in the future. I want to send e-mail from the process exactly on that dates. How can I do it?

Like 0

Like

2 comments

Hi Jana,

 

It's better (and easier) to create two separate processes with the following logic:

 

1) The first process will calculate the exact date when the email should be sent. The date when the email should be sent will be stored in the hidden column on the record page from which the data for email should be taken.

 

2) The second process will have a "Timer" start signal that will be triggered once per hour (for example) and read records from the section that meet the following condition: SendDate for the email = Day.Today. If there are such records the process will send an email.

 

Using the process schema from your screenshot unfortunately won't suite your business task, but two separate processes and the logic above will do the trick.

 

Another option will be creating a cron task (in Quartz) to send an email. This is a harder task than two processes so please use two processes.

 

Best regards,

Oscar

Oscar Dylan,

Oscar, thank you!

 

Best regards,

Jana

Show all comments