Forum Discussion

userg's avatar
userg
New Contributor II
2 years ago

Return true if values from my input 1 (list 1,list2,list3...so on) are available in input 2 list A

Hi Team

I have one list of values from input 1 and i need to compare all the values in my input 2 lists and insert into DB or send an error message "One or more values are not part of the input 1 List"

Example:

Input 1 - [a,b,c,d,e]

Input 2 has multiple lists:

list 1 -[c,a,e] - Insert into a table (Note: order and number values in the lists can be varying)

list 2 - [a,z] - do not insert

list 3 - [a,'',b] - do not insert

How can i achieve this,Thank you.

3 Replies

No RepliesBe the first to reply