Support Questions
Find answers, ask questions, and share your expertise

Using NiFi to parse delimited lists of values and nested loop to get process all permutations

Using NiFi to parse delimited lists of values and nested loop to get process all permutations

New Contributor

I have a flowfile that has 2 sections with comma delimited list of values. I've been able to extract the comma delimited lists as attributes. Now, I want to extract the values from each list and process all possible permutations (a nested loop).

List 1

a,b,c,d

List 2

1,2,3,4

I want to process

a+1,a+2,a+3,a+4,b+1,b+2,...d+3,d+4

Any help is greatly appreciated!