Hi Shankar,
I understood that you need to send the excel file as an attachment to your email.
If yes,
it needs to split into 2 parts.
1. Prepare the Excel file in Mendix. You can create content for xml and then create a FileDocument object with .xlsx extension - with this your file object is ready
2. Now use Attachment_EmailMessage assocation in email connector and populate this association for the file object you created in step1.
3. in your SendEmail microflow, set the attribute of hasAttachment for EmailMessage entity to true and the connector will take care of adding attachments to the email body.
Hope it is cleared.
Regards
Ajay
Hi Shankar,
In OnSubmitted microflow generate your excel logic & when you are sending email check there is one association attachments create the object of attachment & set association and send email activity check there one attribute hasAttachment pass there true.
For generating excel check out this article