createArray function. Conversion.(Power Automate Cloud flows)
Function to create an array from values.
Spec
createArray('<object1>','<object2>' ~ '<objectN>')
Argument | Default | Description |
---|---|---|
objectN | Required field | Two or more values 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, createArray, and the function name and () will be set in the expression field.
The argument is a delimited list of values to be used as items in the array.
If the item is a string, it is enclosed in ".
When dynamic content or variables are used in expressions, special specifications are required.
(How to get dynamic content with expressions.)
In createArray('abc', 'def', 'hij') as in the example, the result would be ['abc', 'def', 'hij'].
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.
Discussion
New Comments
No comments yet. Be the first one!