I am working on a Flow based on two SP Lists. The "Compose All Vehicles" is from from a variable array
How do I compare these two arrays and append to a third array all Vehicle Numbers <> 2 (in this scenario)?
I was attempting...

I am working on a Flow based on two SP Lists. The "Compose All Vehicles" is from from a variable array
How do I compare these two arrays and append to a third array all Vehicle Numbers <> 2 (in this scenario)?
I was attempting...
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:
Next, use the 'Filter array' action to find the uncommon items from both arrays:
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