Googleアナリティクス

2017年12月18日月曜日

Remove Duplicate Array Value

Original post is here.

I have picked up the latest connector information of Flow everyday by LogicApps, but since the newly added connector "2 times" has appeared this time, it was always an error when doing the second tweet. I found duplicate values in the created array, so I tried how to eliminate duplicate values from the array in LogicFlow.

In conclusion, we will use the union function.

The union function is a function to merge union (Array 1, Array 2, ...) and the specified array, but at this time it eliminates duplication. This function is used to eliminate duplicate values in an array.

image

Create a LogicFlow like the sample above. First define the array variable and make it have a duplicate value with createarray function.

image

Next, use the union function to specify that you want to merge themselves.

image

Then, it eliminates duplicate values as described above.

When creating various kinds of processing, the place of operation of the array is often confused, but it seems likely to be able to deal with it in a surprisingly simple way.

0 件のコメント:

コメントを投稿