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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to get Dynamics 36...
Power Automate
Answered

How to get Dynamics 365 records and filter records with empty Project Number fields. Create HTML table and Email

(0) ShareShare
ReportReport
Posted on by 99

I'm trying to create a scheduled flow that will run every 2 weeks.

This flow will pull a list of Project Records from Dynamics 365 and filter the list to only contain records that

meet the following conditions met

   1. Status = Active  (FYI - the actual Field label is Status BUT the field name is statecode with an option value of 0 - Active or 1 - Inactive)

   2. Project Number Field is empty

 

If both those conditions are met, a HTML Table is created and then emailed to a user containing the Project Name, Date Created and link to the Project form in CRM for that particular record.

Currently the flow runs successfully but I do not receive any email. I'm pretty sure the issue lies somewhere in the middle of the flow.

Help me out fam!

 

Image of current flow:

Capture.PNG

Zoomed In Image of Current Flow:

Capture3.PNG

 

CRM Project Number Field:

Capture1.PNG

 

Categories:
I have the same question (0)
  • PowerBack19 Profile Picture
    679 on at

    @MattP13 - What account are you using for the "Send an Email (v2)" step? Is it a service account, your account, or some other account? If it's a different account, do you have permissions in Exchange to send emails on behalf of that account?

  • Verified answer
    MattP13 Profile Picture
    99 on at

    @PowerBack19I actually figured it out. See image of flow below and the image of the result.

     

    Scheduled Notification Flow.PNGCapture4.PNG

  • PowerBack19 Profile Picture
    679 on at
    One last thing, I would suggest you start using the Common Data Service connectors. The Dynamics 365 connectors are deprecated.
  • MattP13 Profile Picture
    99 on at

    Thanks for the feedback, I will start doing so!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard