How to click with loop in web scraped data

Dear All,

I am trying to test to click Url that is under Document ID column of a web page by looping if status column has data.

Currently i am stuck in how can i click for each row since these links are generating randomly.

What i want to do is check status column, if it is completed, then click document id of that link.
Then loop this until status column is blank or null.
i am stuking in this activity

Let me know how can i achieve this case. Thanks a lot.