Email After Some Date

1
0
-1

Hello,

I want to send email after some date. For example, user sets date to 31.07.2020 and I want to send email when this date is passed. Can I do it and how?

Thanks in advance

2 answers

1
+1
-1

Hi,
A way that I see on how to do this is to have a process that has a timer event with the timer condition being your date, and then have a service task with a email connector.

Some documentation about it:
https://documentation.bonitasoft.com/bonita/7.11/timers-execution
https://documentation.bonitasoft.com/bonita/7.11/events

Comments

Submitted by kalmakhelidze10... on Wed, 07/29/2020 - 09:05

Thanks, I will try this approach.

1
0
-1

Hello,

Second approach, you can use the email task in TruckMilk (https://community.bonitasoft.com/project/pagetruckmilk-execute-jobs-intervalle)

So:

1/ is this a Business need for a specific process? If yes, you must treat it in the process, by a Boundary Timer Event, or an event timer.

2/ is that more a monitoring needs? For example, remind users that they have tasks to perform, or anything not really attached to the business need for a process (Example, the person can say "oh, I don't want to receive now an Email, just no more notification). This change does not change the BUSINESS process, just change the way to access the information.

Then, the best is to find an external tool to do that, like TruckMilk

Hope this help

Comments

Submitted by kalmakhelidze10... on Sat, 08/01/2020 - 14:18

it is like first. I will use timer event

Submitted by Pierre-yves Monnet on Sat, 08/08/2020 - 22:20

Hello,
The first approach is a Business approach. You have to see the timer in the process. So, definitively, this is the good approach is the need is a business need. Example: you have to give an answer by 5 days, by contract. So, to ensure this SLA (which is a business needs), the timer is the way.

The Truck milk approach is more a "technical way". I mean, a user ask you "please, I have some task time to time (once a week), and I don't want to check the Bonita Portal every day. So, could you send me an email with all my tasks (whatever the process) every day or every two days? This is only a Reminder, and there is no impact on the business needs. Then, a tool like Truck milk handle that.

I give you an another example: the task may waits one month due to the business need. Users want an email per day: then you have to add 32 boundary timer event in your tasks. And if the users asks you to receive only one email per week, you have to release a new version of the process.

And what about if Walter asks you a email per week, Jan complains because he received 15 emails per days, and Helen still want one email per day?

That why you have to understand the difference between a BPMN Timer and a Reminder tool. What is your use case?

Hope this is more clear.

Notifications