function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Babar Hussain 4Babar Hussain 4 

Task Object

Requirement : As a: Salesforce.com Task owner, I want to receive an email notification when a Task end date equals today’s date.
Note : using flows only.
Can anyone please tell me how to do that I'm bit confued how to do that.
Thanks,
babar
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Babar,

The Task can be assoociated to any object right ? You just want an email alert if enddate is today().

You can implement this with Scheduled Triggered flow. 

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,
Babar Hussain 4Babar Hussain 4
I attached screenshots below, Will you please check and tell me it is right or wrong.
User-added imageUser-added imageUser-added imageUser-added image
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

This should not be recordtriggered flow because record triggered flow will get triggered when a record is created. But you want the email alert when the enddate is Today() because the flow should run everyday and check the records which has enddate as today.

So the flow should be Scheduled triggered flow.

Let me know if you need any details on it.

Thanks,
 
Babar Hussain 4Babar Hussain 4
I changed flow as scheduled trigger flow.
Could you please check my conditions are right or wrong
 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Babar,

Can you share the screenshot of the flow because you don't need the update element to send the email alert. You just need the start element and email alert component . 

Thanks,
 
Babar Hussain 4Babar Hussain 4
User-added image
Will you please give me the steps how to do 
Babar Hussain 4Babar Hussain 4
This is my task condition Will you please check my conditions and let me know where I need to modigy
User-added image
And how I match today's date equals to end date to send email alert
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Babar,

You have to add a decision box below this element to check Enddare = Today() and to eliminate more records from processing the flow once the email alert is send set a checkbox field to true and add in the stat condition to filter out those values.

Let me know if you need details how to add decision box for the conditon check,

Thanks,
 
Babar Hussain 4Babar Hussain 4
Thanks for the update,
Can you please give me the formula how to set checkbox field true condition , For this dO i need to create new checkbox filed in task object.
How to add condtion to filter with those values in flows 
I'm new this salesforce i'M not getting ideas 
Thanks
Babar
 
Babar Hussain 4Babar Hussain 4
I choosed Action as Email Alert, i created email template and email alert
User-added imageUser-added imageUser-added image
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

Your flow should look somethiing like below.

In start elemeny just add the time and dont add the object as below.

User-added imageGet record element with below condition. I have created checkbox field sample check. You can create some checkbox field calles email send.
User-added imageAdd for Loop:

User-added imageCreatea a resource type as formula and return type as date.

User-added imageAdd decision box to check if due date is today or not.

User-added image

I will be continuing the remaining screenshot in next answer.

Thanks,
 
Sai PraveenSai Praveen (Salesforce Developers) 
Cont...
Now update that checkbox field craeted to true.

User-added imageAdd email action template and add the forloop.id as record.

User-added image

Now the entire flow should look as below.User-added image ​​​​​​​


Let me know if you face any issues.

Please close the duplicate questions for the same by marking as best answer so it avoids duplicate efforts

If this solution helps, Please mark it as best answer.

Thanks,