On the Power Platform, we occasionally need to join a few Arrays or objects. The Power Automate Union function can be used in these situations. Examples of this behaviour were given using Person String Array and Cars String Array.

Create an instant cloud flow and provide the trigger as Manually start a flow, then select Create as seen in the figure below.

Next add “intialize variable” and enter give the Name, Type as Array and give the values as per your requirement.

Next Add a Parallel brand by clicking “+” and take another initialize variable and fill the Name, Type and Value based on your requirements.

Next Add the Compose action

Now give the below formula in the expression to union the person and car variables

union(variables(‘Person’), variables(‘Car’))

Now Save and Test the flow

Flow runs successfully

For any Help or Queries Contact us on info@crmonce.com or +918096556344