Schedular event

0
how can set 3 mails in three hours in schedule event in mendix and display any microflow for it.
asked
7 answers
1

Hi Mahesh,

 

You can create a microflow and create an activity to send mail. and you can call this microflow in schedular event.

And set the interval type as hourly (same microflow, which has the send email logic will get execute on hourly basis)

 

Hope this helps you.

answered
1

Hi,

 

Add one integer variable to entity, increase the count of that int variable after the mail send activity. And at the beginning check the count = 3 end the flow on true and continue the flow on false.

 

Hope this helps!

answered
1

Hi Manesh,

 

You can try the following:

  1. Create a object with an attribute Start (DateTime), and perhaps associated to the mail you wish to send (or other associations that you need). 
  1. When you wish to create X mail moment, create these objects with a specific time inteval when you wish to send these emails. (perhaps you can make it generic, by adding parameters: StartTime, NumberOfIterations, TimeBetweeenIterations)
  2. Create a Scheduled event that runs every 1-5 minutes (depending on how strict you are on the time that the mail needs to be send), that checks if there are any available object where the Start attribute is lower than the currentdatetime (objects that you have created at point 2). That scheduled event sets off a task queue (for instance) that will send the mails.

Hope this helps,

 

Cheers

answered
0

yeah i do that one but how to stop after 3 mails automatically?

answered
0

here where we have to add that one can you check this one.

answered
0

whenever we execute it always starts from zero and we cant check begining of the flow. 

answered
0

whenever we execute it always starts from zero and we cant check begining of the flow. 

answered