How to Schedule microflow to trigger everyday which is used to send emails in mendix version 10.6.1

0
Hi experts,   My requirement is to send the email to person whose product end date is within and equal to the current date and time.  I am storing the end date attribute in Asset entity.   I also want this microlfow to be triggered every day at 10 am suppose.   What I have done: I have configured email connector module from marketplace.   Help I need with: I want help in order to understand how do I start with the above requirement. And how to use scheduler as the schuer event from market place is unable to download for mendix version 10.6.1
asked
3 answers
1

Hi Harsh,

Right click in your MyFirstModule -> other -> Schedule event -> make a new schedule event , Set your timing when you want to execute & call your send email microflow here

answered
1

Add an EndDate attribute of type DateTime in asset entity. If you have email attribute in asset entity then make use of it else add an association with account entity. In microflow add a retrieve for asset entity and give the x-path constraint as end date is within and equal to the current date and time. Use a loop to process each retrieved Asset object and Retrieve the associated account entity for the Asset. use the send email activity create a template for it. App Explorer > Scheduled Events. Create a new scheduled event. Configure: Interval: Daily. Time: Set to 10:00 AM. Microflow: Assign the microflow.

 

answered
0

Hi Harsh,

Right click in your Module -> Add Other -> Schedule event 

 

 

 

image.png

 

Configure schedule event accordingly

 

image.png

 

In Microflow create a logic that trigger email sent.

answered