Only adding row

New to UI - Apologies in advance!

I have an add row activity inside a for loop that iterates through a data table. I want it to add every row that meets the criteria specified by an if statement. Currently it only adds the rows that meet the first criteria and does not continue. Any thoughts?
Unusual offsets.xaml (22.5 KB)

Hi,

If my understanding is right, the following will work.

First, add AddCollection activity just after GetRowItem activity for DocNum_RevDt as the following image.
Let’s say listDocNum as its output. (List<String> type)

Then, modify conditon of the IF activity as the following expression.

listDocNum.Contains(DocNumGL)

img20210804-2

Regards,