I have a requirement to attach the PDF to the email sent to workflow initiator in outlook mail after approval or rejection which I am able to do that.
There is a option to provide any comment during approval and these comment also stored as attachment. So now in the email I can see both the attachment. I am using SAP_WAPI_ATTACHMENT_ADD inside a class method to attach this PDF. Now as I saw that all the attachment will be available for subsequent workitem or the activity. I am not able to separate these attachment. Can any one help me to get only PDF attachment to the Email.