Email Attachment Issue
User has an agent scheduled to generate a report and send the report as an attachment in a mail. The agent uses uses "SendEmailWithAttachments" to send the attachment in mail.
The attachment is getting added to the work object.However, the attachment is missing in the mail.
There is difference in the OOTB SendEmailWithAttachments activity and the logic in the activity that was executing in 5.x as compared to 7.x version.
The new logic in the activity in 7.x versions has been updated to add the attachment only when the category information has been set.
This issue is resolved through the following local change:
Set the AttachmentCategoriesToSend parameter with the appropriate category name before calling the SendEmailWithAttachments