I need to create a flow that allows me to send email notifications based on the division of the user who created, modified or deleted an activity in Dynamics 365.
How can I ensure in the flow with the SWITCH function that emails will be sent to the 3 distribution groups according to the division of CRM users?
Do you have any examples please?
Thank you for your help.
Hello @bioethics ,
An option is to create 3 flows with these CDS triggers -
1. When a record is created
2. When a record is updated
3. When a record is deleted
The created by lookup value can be used for sending the email in the first flow.
The modified by lookup value can be used for sending the email in the second flow.
While there is no column to track the third one, but it should still be possible to get a notification for the third one.
-Thanks and Regards,
Thank you for your answer.
In each flow, I want to add condition like a switch in order to send email in fonction of the user division.
I have 3 divisions and in fonction of the user division which has created the record, i want to send an email to his division.