Highlighted
Established Member..
Established Member..
338 views

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,

Mahanti

Tags (1)
0 Likes
2 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

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

Do you need delete all attachments related for incident and leave only ONE last added attachment ?

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

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

No, there isn't. SM doesn't manage versioning of attachments and has mo mechnism to identify which attachments should be saved vs. which would be kept. You could potentially create a trigger to delete exitsing attachments with the same name as a new attachment, but I can imagine cases where data could be lost. Is there a reason users cannot delete obsolete attachments?

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.