Server action

Hello all. I need your help. I'm new to Outsystems and i was told to do a server action for a screen and I have been trying to solve it but i couldn't. I need to create the server action for the Notify By Approver button where once i select a name and that person should be receiving an email. The email server action is done.  I have attached the OML file below   Please help me out. Thanks. 



1. I think you can add group by Email into GetApproverUsers aggregate. 

2. Pass Email, FullName (or more needted attributes for sending email) as Record List to the server action.

3. Loop the input Record List (step 2) and call send email server action. As in your .oml I use the SendGeneralEmail action.

I updated your .oml file, please take a look.




Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.