Loop in activity to fetch records obtaining from Report Definition
Hello everyone, I have one question please, but first I will introduce the context. So I need to loop all cases to send emails depending on some conditions in an activity. One of these conditions is to not send an email to the same patient that had another case for which he had received the same email in at leat one year. I am thinking to use a report definition to get all cases by patient for the current year but I have a doubt about the possibility to do that and how to use it in the activity. Could anyone help me to solve this kind of issue? Thanks in advance, Amira