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 / Apply to each erroring...
Power Automate
Unanswered

Apply to each erroring due to '@body('Create_HTML_table')' returning type 'String'

(0) ShareShare
ReportReport
Posted on by 2

Hi 

 

I am in need of some expertise with my current issue.

 

I'm in the process of creating a flow that is meant to check a sharepoint list, calculate the a 90 day grace period and send an email of the items in their grace period. 

 

At the moment the flow errors on the apply to each step:

 

MD8_0-1678203475511.png

Here is an overview of the flow currently

 

MD8_1-1678203600804.png

 

MD8_2-1678203621556.png

 

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

    Hi @MD8 ï¼Œ

    I made a template for your reference:

    vchengfenmsft_2-1678240059655.png

    Triggered once a month;
    Get items : Filter out all items whose date is from today to 90 days later through filter query

     

    vchengfenmsft_1-1678240026173.png

    Send an Html form for each record and send it to the Person user in this column

    vchengfenmsft_3-1678240157328.png

    Here is a link about get items filter query for your reference:

    Power Automate get items examples - SPGuides

     

    Best Regards

    Cheng Feng

  • MD8 Profile Picture
    2 on at

    Hi Chen,

     

    Thank you for your above solution. I updated my flow to it but I did however get an error in the Get_items action:

     

    The expression "field_14 gt '2023-03-08T16:10:02.3028655Z' and field_14 lt'2023-06-06" is not valid. Creating query failed.

     

    I suspect it may have to do with my date field including time as well?

     

    Many thanks

    Melissa

     

  • v-chengfen-msft Profile Picture
    on at

    Hi @MD8 ,

    The time format needs to follow the IOS8601 specification, and must be consistent with the SharePoint format, so that it can be compared

     

    Here is a link about get items filter query for your reference:

    Power Automate get items examples - SPGuides

     

    Best Regards

    Cheng Feng

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard