I want to create a custom action on a groupTable that does the following in one go:
(1) Generate PDF file for selected record based on an existing report
(2) A persistent record is then created with a FileDescriptor linked to the PDF
(3) And email is sent to a set of recipients with the PDF as attachment
What is the best approach to take ?