cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AdhamFH
Helper V
Helper V

Comparing two arrays

i have two arrays

array 1 ["test1","test2","test3"]

array 2 actually from my sharepoint list and the value for example ["test1","test2"]

how to compare array 1 and array 2 so i can add test3 in array 1 to array 2?

6 REPLIES 6
VictorIvanidze
Community Champion
Community Champion

Hi @AdhamFH, why do you want to compare?

According your description it's quite enough to replace array2 with array1.

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

@VictorIvanidze actually i want to compare array 1 to my sharepoint list item, if one of item in array 1 not equal to my sharepoint list item then i want to create item if equal i just want to update some field 

Sorry I still do not understand your requirement. Could you provide more detailed description?

 

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

Also have a look at this thread.

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

@VictorIvanidze i have an array and the items for example ["test1","test2","test3"] and then i want to compare to my sharepoint list item, for example if "test1" in array not in my sharepoint list then i want to add it to my splist if it already in my splist then i want to update column 

I gave you a link to the similar flow - just try to modify it.

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,759)