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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create HTML table and ...
Power Automate
Unanswered

Create HTML table and send email

(0) ShareShare
ReportReport
Posted on by

I have a very simple flow to extract a list of stores due for contract renewal in 180 days. 

However, I have 2 issues:
1. At first the flow worked but the list of extracted stores was incorrect. The date was not within 180 days of expiry.

2. idk why but today, the HTML table does not extract any stores anymore... 

 

Picture1.png

Categories:
I have the same question (0)
  • Verified answer
    v-LilyW-msft Profile Picture
    on at

    Hi @lwy 

    Thank you for posting.

    I have made a test on my side and it works fine for me.

    You can take a try with the expression in Filter Query instead of set variable:

    vLilyWmsft_0-1625737009075.png

    LeaseEndDate le '@{addDays(utcNow(),180,'yyyy-MM-dd')}'

    vLilyWmsft_1-1625737009083.png

    vLilyWmsft_2-1625737009086.png

    This is my test list

    vLilyWmsft_3-1625737009089.png

    After flow runs, I will receive the email

    vLilyWmsft_4-1625737009090.png

    Hope the content above may help you.

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Tumelo1 Profile Picture
    10 on at

    am getting this error trying to follow your steps

     

    The expression "Policy Expiry Date 'True'" is not valid. Creating query failed.
    clientRequestId: 
    serviceRequestId: 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard