Compare list differences
Using array_diff() function
Here is an example of using the array_diff() function to find elements that exist in the second array but not in the first.
-
start: set: array1@csv: Apple, Google, Microsoft array2@csv: Apple, Microsoft, Cerb diff@csv: {{array_diff(array2, array1)|join(', ')}} return: output: These are new: {{diff|join(', ')}}
-
__return: output: 'These are new: Cerb'