I have records which need to be assured each month the below code generates the appropriate email and send it to the right person. I have a table with each of the email addresses for each person in. I want the email address for email@email .com to be taken directly from there. This way if a user updates the contact the email will still go to the right person. If it's only within the code below it will be unable to be changed.
The data card for the email address is EAST_DataCard3 and the field is DataCardValue58
MonthlyEmailContactsUpdateRequest.Run("email@email.com", "startswith(Title,'EAST')", TextInputPersonRequesting.Text & PersonDivider.Text & TextInputPersonRole.Text);
Notify("The emails are being generated and automatically sent. This may take some time and you will receive a confirmation soon",NotificationType.Success, 100);
UpdateContext( { ShowNotification: false } );
I hope this makes sense