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 / Create HTML table afte...
Power Automate
Answered

Create HTML table after condition

(0) ShareShare
ReportReport
Posted on by 38

Hey All, is it possible to create an HTML table after my condition is met? I get the error message "An Action failed, No dependant actions succeeded"

I think I may be missing a step or something here, please see my flow and error below :

KeeganClarke_0-1667569259985.png

 

Categories:
  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @KeeganClarke 

    What do you want in the HTML table?  Everything returned by Get items?

     

     

  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    @KeeganClarke - Your Condition resulted to "False" it entered the "No" Branch.

     

    If you Copy the actions from the "Is Yes" Branch to "Is No" and then run the Flow do you get correct results.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • grantjenkins Profile Picture
    11,063 Moderator on at

    The screenshot you have is showing the first item in the Apply to each. For the first record the condition was false, so the Create HTML table action didn't run. It looks like the condition was true at some stage and this is when the Create HTML table action failed.

     

    Can you expand out your Create HTML table action in design view to see what you have added in there?

  • KeeganClarke Profile Picture
    38 on at

    Hi Scott, only need a couple of fields from get items, "ID" and "Title".

  • KeeganClarke Profile Picture
    38 on at

    Hi fernandes, thats a great idea never thought of that but theres no need as even though my condition shows false it still processes as if its true, confirmed this by removing create HTML table and going ahead with send email 2.

  • KeeganClarke Profile Picture
    38 on at

    Hi Fernandes, thats a great idea never thought of that but theres no need as even though my condition shows false it still processes as if its true, confirmed this by removing create HTML table and going ahead with send email 2.

  • KeeganClarke Profile Picture
    38 on at

    Hi Grant, even though the conditon shows false, it still processes as if it is true, this is confirmed when i run the condition then go straight to send email v2. Please see screenshot as requested. When creating HTML Table and i select data source, if i use the data source get items before the condition it pulls all the data from the list to my table which i dont want, only want the items based off the conditions.

    KeeganClarke_0-1667809830436.png

     

  • KeeganClarke Profile Picture
    38 on at

    When creating HTML Table and i select data source, if i use the data source get items before the condition it pulls all the data from the list to my table which i dont want, only want the items based off the conditions.

    KeeganClarke_1-1667809923637.png

     

  • grantjenkins Profile Picture
    11,063 Moderator on at

    The issue is that your Create HTML table expects and array, but you're just passing in a single object (item).

     

    You don't actually need an Apply to each here as you should be filtering the items returned either within Get items using the Filter Query, or directly after that using Filter array, and then adding the output to the Create HTML table and sending the email.

     

    I can mock up a quick example if you like.

  • grantjenkins Profile Picture
    11,063 Moderator on at

    Here's a quick mock-up of what you need. Looking at your filters you should be able to do the first condition within Get items and the second filter within Filter array since it's using expressions.

     

    Then the output of Filter array (which now only contains the filtered items) would go into your Create HTML table.

    grantjenkins_0-1667811067118.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard