Repeated Click on specific field2 base on other field1 data at webpage

Trying to automate a webpage containing multiple rows data contain colums eg RequestNo,status…If the status is pending, I have to click on the respective RequestNo, and direct to next page ,perform some actions.Then - return back to previous page - then click on another RequestNo which status is pending and do the same. Can anyone assist?