function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Antriksh jainAntriksh jain 

LWC call log insertion on record and send email.

Hi,I'm newbie to lwc and I have a requirement in lwc.Below is my requirement:
1. Show top 10 Lead records (Sort by Created date) in lightning table with its
details like Name, Email id, mobile No etc…
2. On Lead Record selection open Modal/Popup show form to insert the Log a
Call record (Task) against the selected Record.
3. On insert of the record a mail should be sent to the Owner of the Lead with
the details of the Log a Call (Task) record.
4. After the mail is sent a success message with date/time should updated in
lead.
I i have completed first task fetched the lead record but unable to produced call log by selection of record.
AbhinavAbhinav (Salesforce Developers) 
Hi Antriksh,

This is a detailed requirements ,I would suggest ask specific issue with related code snippet so that community can help you better.

Thanks!
Giancarlo BaileyGiancarlo Bailey
Thank you very much for your advice. It is very important for me.