@AbhishekC1725 Please use OOTB option for the scheduled report option. Go to report browser and select the report and click edit option and configure the schedule option. you will get the report definition as a excel attachment via email.
Call sendEmailNotificationWithAttachments or SendEmailNotification baseclass activity and pass Param.AttachmentPage =AttachmentPage and other required parameters.
@Nadimuthu T pxGenerateExcelFile activity generate the excel file and place into service export directory. Please refer pyActionSendMail activity step 14 and get the file and Local.strFileData holds the attachment stream data.
@AbhishekC1725 If you have achieved this, please post the screenshots of the same. Will be helpful for the others. Also wanted to confirm one thing, you are trying to generate an excel and directly send that over email right? That file is not attached to case right?