I am creating new attachments as a Data-WorkAttach-File in an activity(using REST services to receive the files) and then linking the attachments to the case using the acitvity pxLinkAttachmentToCase.
Once this step is completed I am trying to send an email with all the attachments but I am only getting one attachment instead of the multiple attachments that I have associated with the case.
I have tried the following methods to send an email with all the attachments that have been associated with the case (I used pyGetAllAttachments Report Definition to verify that the attachments are associated with the case) -
1. Smart Shape Send Email with Include Attachments and All Case Attachments selected.
2. Activity SendEmailWithAllAttachments
3. Activity SendSimpleEmail with SendAllAttachments set to "true"
Is there a reason why only one attachment is being sent along with the email? The attachments themselves are less than 25Mb in total and the attachments are visible on the case section Recent Content.
To send an email message with all the attachments of a work item
Open the work item on the clipboard. The work item may be open or resolved.
Call the standard activity @baseclass.SendEmailWithAllAttachments. In the ReferencePage parameter, identify the name of the clipboard page that contains the work item, such as pyWorkPage.
Using information in the work item, this activity creates a page of class Data-EmailAttachments containing all the work item attachments. This activity then calls the standard activity SendEmailNotificationWithAttachments, which later calls the standard function described in this topic.
Please very the page that is getting passed at runtime when using the "SendEmailWithAllAttachments"
Thanks - Chandan U - Hope this helps