How to get the latest attachments from an updated incident when reassigning?

Hi Team,


We wrote separate function for attachment handling for third party integration and we are uisng getAttachments() function to get the attachments but customer when reassigning the incident to his assignment group then he want latest attachments to be flown rather than all the old attachments. Is there any method is there in HPSM which flows only latest attachments attached before reassigning to the particular assignment group.


Thanks and Regards,