Use criteria in "for each" task when using a subform.

Use criteria in "for each" task when using a subform.

Hi Zoho community,

I have a "for each" task for sending an email to every row in a subform. On Add it sends an email to all the rows, which is ok, but, On Edit, I need to add criteria in order to send mails only to the rows that where recently added or modified. 

I have been trying with the code bellow but no success so far. It seems its not possible to use criteria like this when using the task for a subform.

for each R in input.Chequeo [R.AddMod = zoho.currentdate]
{
    sendmail
    (
        To       :  R.EmailR 
        From     :  zoho.adminuserid 
        Subject  :  "¡ATENCIÓN! tiene un hallazgo pendiente del caso:" + input.N_mero_de_Caso 
        Message  :  Message!!
     )
}


Does anybody know a workaround method or give a hint on how can I solve this? please

Any help will be appreciated