Search Click Dynamically

I am a beginner with UIpath. I am doing a use case on Acmesystem. In that, in workitems, if the date is greater than 2018, then I have to click on the search button, present in the Actions column. So this has to happen dynamically as there are 14 pages & 10 rows. So row-wise and pagewise the condition of date will be checked and clicked on search.
So how should the search click be dynamic.
Please help me with this