Condition to compare only the first record in a result set
My flow is executing a stored proc and it always returns 2 records. I want a condition that only looks at a specific column value in the first record rather than a foreach which applies the condition for both the records.
Current condition: @equals(items('Apply_to_each')?['AverageDurationSecDBExe'], '10')
Is this possible by modifying the syntax above to look at only the first row? My output is just a resultset from a storedproc.