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.

---

Links

Conversion Functions(Power Automate Cloud flows)