Check element not working for repetitive functions

Im setting up a functionality where a workpaper name should be type in a search box then once it displays, it checks the checkbox on the left side of screen then click the archive workpaper. The first one is successful but errored on the follow workpaper names on the list. Here is the error: Check/Uncheck ‘TH’: The UI element is invalid. Make sure the target application is open and the element is on the screen.

Hi @shaina1

For the next worksheet it was opening in the next tab in browser.?

I tried using for each ui element.
the browser displays a table that shows

Row 1 - checkbox
Row 2 - Organisation Name
Row 3 - Workpaper status (Done, Pending, For review, etc)

I only want to check the boxes with “Done” status.

Then the next action would be to “Archive” all that were checked.

How can I set up this in UiPath?

Okay @shaina1

Use for each Ui element activity and indicate the first check box in the table it will automatically highlight remaining check boxes the output is CurrectElement. Then again indicate the first workpaper status value the output is CurrentLabel. Click on config filter option then give CurrentLabel at left select equal operator and give “Done” at right. Inside for each ui element activity insert the check activity, in the properties pass the CurrentElement value in Input element option.

For each Ui element will check all the boxes with Done workpaper status.

Hope it helps!!