In C#, it’s just string.IsNullOrEmpty(), so in Power Platform it’s more complex:

It isn’t possible to compare against an empty string, so you need to compare the length of the string:
length(outputs('myString')?['body/Result'])
… and compare that with 0. The other condition just compares with null.
You could implement string.IsNullOrWhitespace() by using the trim() function around the string.

Leave a comment