I have created a Flow to call the kusto function and email the kusto object as Bar chat. But I don't want to send an email if the kusto function return null or empyt. How to validate this. I have put the condition expression before sending email and try but didn't work as expected. Please let me know how to validate it. Any help will be appreciated.
Which connector do you use in your “Run query and visual results” action?
I don’t find the connector on my Microsoft Flow, so I could not make a test on my side.
According to the screenshot that you provided, please take a try to type the following formula in Condition box:
Thanks for reply,
The connector is "Kusto - Run query and visualize results ". I have tried the expression @empty(body('Run_query_and_visualize_results')). But it's always return false whether the "Kusto - Run query and visualize results" return data or not. I have tried follwoing option that didn't work for me :
Can anyone please help me on resolve this issue. Even I can change to Html table instead of Bar chart. Please let me know the solution for both Html Table & bar chart.
I'm getting the following error:
InvalidTemplate. Unable to process template language expressions for action 'Does_user_exist' at line '1' and column '2223': 'The template language expression 'empty(body('Search_for_users')?['value'])' cannot be evaluated because property 'value' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.
Run the flow and see the output by cliking on the "Search for users" action. Replace the 'Value' with the item that you are getting inside the Body as below (For your reference). I have used 'empty(body('Search_for_users')?['value'])' and working for me. If it's not working then I am just the beginner of the flow. You can post your question in the group. Someone ight help you.
Read the announcement for more information!
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
The top training and networking event across the globe for Microsoft Business Applications