Last activity: 11 Sep 2018 15:36 EDT
activity for deleting attachments on a work object
dose anyone have an activity that will delete attachments for a work object based on say the status of the work object?
or simply giving the pzinskey of the work object.
I have found this but this needs to know if there are attachments etc. Work-.DeleteAttachment
Message was edited by: Lochan to add Category
***Edited by Moderator: Marissa - Post has been archived due to inactivity. If you have the same or similar question, please Write a New Post***
I guess you will need an activity like pzDeleteEmbedAttachment. In said activity, the system is first using a report to get the full list of attachments and then looping on Step5 in order to call the DeleteAttachment activity.
We are using 7.18 I can't find pzDeleteEmbedAttachment.
are you sure that is the name?
Can you search with "old:pzDeleteEmbedAttachment"?
No still can't find that activity
I was able to find in 7.1.8 instance.
Ee upgraded our cloud to Pega 7.1.9
I can see the old:pzDeleteEmbedAttachment but I cannot "Call" it from an activity.
Is it because the Status is "Internal"? I tried copying and renaming it to my rule set, it stayed in Internal Status and I could not Call it.
Any help would be appreciated
Should I be calling this from my list of work objects say tat are in "resolved" status.
then deleting the ones associated with that work object?
Since I think you need to delete attachment in blob and the link-attachment 2 places right?
Is this activity available for 7.1.7 version, as I am not able to find it on search.
We see that you have created another post for the same query - Is it possible to remove attachments from main case on unmerge??
Yes, I created that before I commented here.
Waiting for reply and conformation.
Could you please help.
What are the parameters set-up before calling the Delete Attachment?
You can loop on attachemnts list and inside loop you can call your activity.
Since this is an older post and you created a new duplicate post @mayankm5528, I'm going to close this thread to future comments. Please continue the conversation in your thread.