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 / 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)
  • 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

     

  • Expiscornovus Profile Picture
    33,406 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

  • 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,406 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

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
David_MA Profile Picture

David_MA 262 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 211 Most Valuable Professional

#3
trice602 Profile Picture

trice602 198 Super User 2025 Season 2

Last 30 days Overall leaderboard