How to create a Link-Attachment Instance from an existing Data-Workattach-File instance?
Hello everyone
My problem is the following:
We're creating some cases from an email listener, this creates a Link-Attachment instance that is linked to the Data-WorkAttach-File class.
Then we've some logic that creates cases from a different class, and we need to create a Link-Attachment Instance, linking the Data-Workattach-File (The one that contains the original email) with the new case created.
I've tried using the Link-Objects Method on an activity, but is creating an empty instance of Link-Attachment.
Is there any OOTB way to do this? Or what kind of approach can I use here?
Thanks! :D

Hi @Junicavi
This approach should work.
we can attach a single Data-WorkAttach instance to n number of cases by using Link-Attach.
Fetch all the details of the existing Data-WorkAttach instance onto a page and use Link-Object method.
However, make sure the existing Data-WorkAttach instance is committed to DB before linking to a new case.
If this still doesn't work is it possible to share the exact steps or screenshots.