Hello @Mahesh Madhusanka Thanks for reaching out. In order to use Conditional effectively, it's important to understand the kind of data type you're working with, please see my answer here: https://learn.microsoft.com/en-us/answers/questions/1344227/logic-app-condition-issue
In your case, you want to check if the ResultSets
property (which is a property of JSON response from SQL Connector) is empty or contains other child properties -- please let me know if I misunderstood here.
If correct, you can use the empty() function as described in the following blog post: Check JSON object null/empty in Power Automate
Note: even though the blog post referenced above is for Power Automate, in this case, you can use the Conditional the same way for your Logic Apps workflow.
Please "Accept Answer" if the answer is helpful so that others in the community may benefit from your experience.