Searching for different items and different lists

I’m trying to to search do what appears to be a complicated search.

What I have is two drawings, and one set character searches for each drawing.

I want to search Drawing 1 with the first list of multiple items and search Drawing 2 for the next list of multiple items.

What is the best way to achieve this?
Example list:

Set lacing on String.Contains to ‘cross product’.

That solved a different problem I was having. So thank you for that.

But am trying to compare the lists more like this:

A1 → B1
A2 → B2

Instead of finding all options. Or did I misunderstand the result?

1 Like

Not all permutations of inputs are possible with all list structures. Both String.Contains inputs are defined as single values. The node is smart enough to iterate over a list when either input is defined that way but only because it can manage the single input as a static value for each of the listed values of the other input. When both inputs become lists, the inherent mapping of the inputs can no longer be implied.

You can fix this by making the sublist structures match a viable input structure: one-to-one inputs, or a single list per single value. Both of these can be accomplished by duplicating values in one or both of the input lists.

The other option is to use python to map the lists to each other and iterate based on the defined structure.

Thank you, I was afraid that this was going to be beyond the node. I’m going to have to get creative.