Skip to main content

Hi,

 

I have created a record trigger flow with a scheduled path. I am doing testing of the scheduled path.

 

1. Run Immediate

2. Run 5 days after the invoice due date 

3. Run 0 minutes after invoice date

4. Run 0 minutes after the due date. 

 

Im created an invoice record with the invoice date as today's date but was unable to receive mail from Flow.

 

Can anyone please help..!

 

I really appreciate any help you can provide.

 

@* Salesforce Developers * @Salesforce Flow Automation @Salesforce Flow 

 

Record trigger flow not firring asyn path salesforce

 

Screenshot 2023-11-08 180043.png

1 answer
  1. Nov 8, 2023, 2:22 PM

    Hi @Sarita Gavale, apart from the emails not getting sent, is the Task creation (under path "RUN ON INVOICE DATE") actually happening. It could be that the whole scheduled path is not triggering, because today's date is considered when today started (so at 00:00 hours), which is in the past, so the scheduled flow doesn't run if you're doing a test with an invoice created today and with invoice date = today.

     

    Can you create an Invoice with due date = tomorrow, and then go to Setup > Jobs > Scheduled Jobs to see if a Scheduled Flow has been scheduled for tomorrow? If yes, review the hour to see when to expect the scheduled path to run + email getting sent.

     

    If you don't want to wait until tomorrow to see the results, you can change the scheduled path time source from the InvoiceDate to CreatedDate (which is a date/time field) and choose to run the scheduled flow and give it for example a 3 minute delay from the CreatedDate, so that you can receive the emails 3 minutes after the invoice was created.

0/9000