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.

For those who want to learn Power Automate Cloud flow effectively

The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Cloud flow to streamline your workflow.

Links

Collection Functions(Power Automate Cloud flows)