I've created two object arrays. I would like to compare the two array items by 'SpaceId' key, then add whatever items don't match to a third array. Here is a sample of my two arrays:
I would like my condition to be if variable(array1)['SpaceId'] is not equal to variable(array2)['SpaceId'] then append to a 3rd array.
If they are equal then do nothing.
I'm pretty sure my syntax is probably totally off but I hope I'm getting my goal across. I'm new to the game so I would appreciate any help that I can get with this.
Solved! Go to Solution.
Here is how you can do it...
Compose2 Expression --> item()?['spaceid']
Filerarray expression --> item()?['spaceid']
Check Length expression -->length( body('Filter_array'))
Finally append to array expression --> body('Filter_array')[0]
Here is how you can do it...
Compose2 Expression --> item()?['spaceid']
Filerarray expression --> item()?['spaceid']
Check Length expression -->length( body('Filter_array'))
Finally append to array expression --> body('Filter_array')[0]
@dgonzalesjr - Did you get chance to check my solution?
@dgonzalesjr - Did you get chance to check my solution?
Hello @PrasadAthalye so sorry for the wait. This solution has worked for me. Thank you so much for your help!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
71 | |
22 | |
17 | |
17 | |
13 |
User | Count |
---|---|
126 | |
35 | |
30 | |
28 | |
26 |