Hi All,
I have a flow that checks the records in 2 different arrays, and then sends an email if any of the records in either array are not present in the other. I use Union(variables('varListA'),variables('varListB')) to combine the arrays, and then compare the lengths to see if there are any differences.
What I would like to do is pull a string value for the any records that are present in the first array, but not the second. So if 11 out of 12 records in both arrays match, I would like to create a string value for the 12 record so I can then email information on it to the proper person.
varListA and varListB are my 2 arrays, and they always have 12 records in them. Any number of records could be different when the flow runs, but typically it would be one. Does anyone have any suggestions for how I could try to pull these specific records from varListA?