Posted: 24 Aug 2018 6:16 EDT Last activity: 30 Nov 2018 11:07 EST
Is it possible to remove attachments from main case on unmerge??
User has two work objects and both are having some attachments. When he merges 2 cases using a custom functionality, the attachments from one case are copied to another case ( main case) .
Now if user unmerges them, the attachments are still in main case, they are not removed from main case.
Steps to Reproduce :
1. Merge 2 cases with attachments using custom functionality.
2. Notice that the attachments from one case are copied to other.
3. Unmerge them.
4. Attachments from one case are not removed from another case.
So is it possible to remove copied attachment from the main case after unmerge??
***Edited by Moderator Marissa to update platform capability tags****
You can use the OOTB activity "pzDeleteEmbedAttachment" to delete the attachment, after unmerge has been performed. For this, you can use when the condition or a flag using which it can decide whether to delete the attachment.