SendMailWithAllAttachmentsAttach activity is not attaching its attachment to the work object
I am using utility shape and configured SendMailWithAllAttachmentsAttach OOTB rule and it's working fine, I am able to get all the mails with attachments, but I am unable to see the attachment in work object. Do I need to call AttachToWork after SendMailWithAllAttachmentsAttach but I am facing problem with one parameter in AttachToWork i.e., PDF Document which is of type Java object.
Thanks in advance.
***Updated by moderator: Lochan to add Categories***