array function. Conversion.(Power Automate Cloud flows)

Japanese version.

This function converts a single text or number into an array.

This is an infrequently used function because it is rare to create an array with a single item from a single value.

Spec

array(<value>)
ArgumentDefaultDescription
valueRequired fieldValue to convert.

How to use

In most cases, it is used in the "value" when initializing or setting variables of type "Array".

Click on the "Expression" tab, array, and the function name and () will be set in the expression field.

Click on the button, and if the display looks like the following, the setting is complete.

You can change the function by clicking this purple icon.

Specify the value to be converted to an array as an argument. Text must be enclosed in '.

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

(How to get dynamic content with expressions.)

array(123), as in the example, will create an array (array) with 123 as an item.

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

Conversion Functions(Power Automate Cloud flows)