web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow to List Items NOT...
Power Automate
Unanswered

Flow to List Items NOT Present

(0) ShareShare
ReportReport
Posted on by 1,265

I am working on a Flow based on two SP Lists.  The "Compose All Vehicles" is from from a variable array 

union(variables('VehListArray'),variables('VehListArray')).  The 'Compose Inspections' is from a variable array 
union(variables('VehInspArray'),variables('VehInspArray')).

 

RJF61_2-1686586089882.png

 

RJF61_1-1686585098958.png

 

RJF61_3-1686586147244.png

 

RJF61_0-1686585026770.png

How do I compare these two arrays and append to a third array all Vehicle Numbers <> 2 (in this scenario)?

 

I was attempting...

RJF61_5-1686587328134.png

 

 

Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @RJF61 

     

    Pls refer to the below sample flow for your use case:

    I have used 2 variables to store the values of all items & common items of the list:

    ManishSolanki_0-1686632532661.pngManishSolanki_1-1686632562594.png

     

    Next, use the 'Filter array' action to find the uncommon items from both arrays:

    ManishSolanki_2-1686632660789.png

     

    Expression used on the left side is:

    contains(variables('varCommonArray'), item())

    The output of filter array action will give you the desired output as an array.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard