we have the requirement to trigger an action (which then calls a web service) whenever an item is added to a collection or removed. The added item / removed item then has to be assigned as request parameter to the web service.
More precisely it is attachments which are stored in AttachmentFolder/Document in a Service Request. So when an attachment is added the new attachment needs to be sent via a web service, same for a removed attachment, it has to be sent with another web service.
What would be the recommended approach to achieve this? In order to track single field changes I have created dummy extension objects to compare old and new values.
However this approach does not work for a list of attachments.
Any advice and input would be highly appreciated!