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 / Unable to process temp...
Power Automate
Answered

Unable to process template language expressions for action 'Condition' at line '0' and column '0':

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, I am creating a power automated flow that sends an email on a recurring basis if Azure Kusto query returns results, but I need this e-mail only when the table has row. If the table does not return any results, the condition is false, and the e-mail won't be sent.

How do I fill my compose field with this condition? I am getting this error. Thanks in adv

 

jessikalobo_0-1684158583105.png

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,767 Most Valuable Professional on at

    Hi @jessikalobo,

     

    It looks like you are checking the length of data returned via the KQL query in a Compose action, correct?

     

    However, I see in the screenshot you used a variables function. I would have expected a outputs function instead over there.

     

    Btw, if a length function does not work you can also try a empty function instead.

     

    outputs_vs_variables.png

  • jessikalobo Profile Picture
    Microsoft Employee on at

    Thanks for replying @Expiscornovus 

     

    Actually, I am not sure how to fill this field. I was following GTP's instructions but got stuck in this error for days. Already tried without the 'variables' but still getting problem 😞 

     

    jessikalobo_0-1684161762276.png

     

  • Expiscornovus Profile Picture
    33,767 Most Valuable Professional on at

    Hi @jessikalobo,

     

    I would try and replace the variables by the outputs() function and the body field. You can amend this in the expression tab.

     

    length(outputs('Run_KQL_query_and_render_a_chart')?['body'])

     

    length_outputs.png

  • Verified answer
    jessikalobo Profile Picture
    Microsoft Employee on at

    Thanks @Expiscornovus sm for helping, but I was still having issues, so I resolved my problem with another way. I did the table render after the condition. This way, my compose went fine 🙂

    jessikalobo_0-1684182322691.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

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 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard