RE: Workflow trigger automated email
Hi juliasmartvatten,
I recommend you use Power Automate to do it.
1.Create a Date and Time field.
2.Create a scheduled cloud flow, the whole process is shown in the figure:
The date of signing the contract plus the date obtained by one year is compared to the present date, and if it is equal to the current date, the mail is sent.
addDays(items('Apply_to_each')?['new_signthecontractdatenew'],365)
formatDateTime(variables('Time'),'yyyy-MM-dd')
formatDateTime(utcNow(),'yyyy-MM-dd')
The entire process is tested as follows:
The reason for not using workflow is that the Record fields change in workflow's trigger conditions cannot select the calculate field.
Regards,
Qingqing Xin
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.