I have a requirement where system need to fetch all the open cases and sending an email if the condition met.
There are might be a lot of cases under 1 person so system only need to send the email once and list the open cases to that one person.
I have a problem when I want to send the email only to that one person. I want to use IsInPageList function to check if there is already the value of emailAddress same as emailAddress on the current loop page, but it still can't filter anything (the email still sent to same person multiple times as much as the open cases under that person exists)
So, the email is under .ContactList().Recipient.EmailAddress, and I want to check in the Temp.pxResults under the pageList ContactList() class.
How to check if a value in the .ContactList().Recipient.EmailAddress already exists in the Temp.pxResults(<CURRENT>).Recipient.EmailAddress
Please I need help to implement this. Thank you
***Edited by Moderator Marije to add Capability tags***