empty function. Collection.(Power Automate Cloud flows)

01/14/2024

Japanese version.

This function checks to see if one or more items exist in the  array.

empty also has a function of the same name that checks whether one or more characters of text exist.

Spec

empty(<collection>)
ArgumentDefaultDescription
collectionRequired fieldTarget array.

How to use

In many cases, it is used in "Condition".

It is also frequently used in "Boolean" variable manipulation.

Clicking on empty in the "Expression" tab sets the function name and () in the formula field.

Argument is one array.

When dynamic content or variables are used in expressions, special specifications are required.

(How to get dynamic content with expressions.)

If you see something like the following, the setup is complete.

You can change the contents of the function by clicking on the purple icon.

If the argument is an empty array with no items, the result is True.

If the argument contains items, the result is False.

---

Links

Collection Functions(Power Automate Cloud flows)