web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

How to Add wait condition like 5 to 10 hrs wait then send an email through MS Flow

(0) ShareShare
ReportReport
Posted on by 425

Hi, 

I have a requirement on case entity, like I need to send an email If owner field is not updated  in 10 hrs, then a mail will be send to any person.

And Also want to try the try and catch block in this Ms flow if flow fails then an error should be logged.

I have the same question (0)
  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    You can use Delay action in your flow to wait for specific time.

    d365demystified.com/.../

    Please see below blog to add Try & Catch in your flow -

    d365demystified.com/.../

  • Suggested answer
    furkank Profile Picture
    535 on at

    Hi, After your trigger step in MS Flow, add a try catch block. In catch block you just need to create a record in your CRM environment on the whichever log entity you use(by dataverse connector, add a new row). If you don't have an entity for the logs purpose, you can create a new entity.

    For the wait condition, simply use the delay action to wait for a time you specify.

  • Himanshu Kamboj Profile Picture
    425 on at

    Hey , like I got the clear requirement now,

    If a case has been opened more than 5 to 10 hrs without having a value in "assigned owner" then a mail should be sent to team members and if "assigned owner" has any value then mail should be sent to that owner to whom case has been assigned.

    So for this which flow I need to be create scheduled flow or automate cloud flow? 

  • Verified answer
    furkank Profile Picture
    535 on at

    Hello,

    You need to create automated cloud flow with the trigger of when a new record created(a new row added to the dataverse). You will have initial condition that checks if "assigned owner" has a value. If it is, exit the flow. If its not, add a delay action that waits 5 hours, after that check that field has value again. If its not, add a outlook connector to send an e-mail.

  • Himanshu Kamboj Profile Picture
    425 on at

    It's Working Fine for my user only, means for now I am sending the mail to myself using my hardcoded mail address . As I am sending the mail using "send an email Outlook V2" action.

    I need to send the mail to particular assigned user to whom case will be assigned that is user entity lookup.

  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hello,

    You need to add Get A Row by ID and select Users in table, RowID - Select Owner from your trigger and select email address in Select Columns

    1616.CR106.PNG

    now use this email address from Dynamic Content in your Send Email step.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans