Forum Discussion
Aleksandar_A
3 years agoContributor III
Hello @Rahul,
You can compare the two list by first merging them using the Join Snap. Then, using the following expression in a Mapper Snap to compare the lists:
$api_list.length == $snowflake_list.length ? ($api_list.filter(x => $snowflake_list.indexOf(x) != -1).length == $api_list.length) : false
Here is a sample pipeline:
–sl-comm-compare-lists_2023_07_08.slp (6.6 KB)
Let me know if this is of any help. 🙂
Regards,
Aleksandar.
Hi Anchal, i’m attaching the screenshot of the parent pipeline where error pipeline parameters are configured and also attaching the error pipeline which would get the snap name and pipeline name along with the start time and runId
z_handleDataWarnings_2021_01_19.slp (11.5 KB)
let me know if it solves your issue.
Related Content
- 5 months ago
- 4 years ago
- 3 years ago