Question


Bresatech
US
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***
-
Likes (1)
Karan Kalimuthu -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Pegasystems Inc.
FR
Hello Frank,
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.


Bresatech
US
Thanks Marc,
We are using 7.18 I can't find pzDeleteEmbedAttachment.
are you sure that is the name?


PEG
IN
Can you search with "old:pzDeleteEmbedAttachment"?


Bresatech
US
No still can't find that activity


PEG
IN
I was able to find in 7.1.8 instance.


Pegasystems Inc.
FR


Bresatech
US


Bresatech
US
Marc, Gangababu,
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


Bresatech
US


Bresatech
US
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?


IBM India PVT LTD
IN
Hello Frank,
Is this activity available for 7.1.7 version, as I am not able to find it on search.
Please confirm.
Regards,
Mayank
-
Tarun Sipani


Pegasystems Inc.
IN
Hello @mayankm5528,
We see that you have created another post for the same query - Is it possible to remove attachments from main case on unmerge??
Thank you.


IBM India PVT LTD
IN
Hi Pallavi,
Yes, I created that before I commented here.
Waiting for reply and conformation.
Could you please help.
Thanks


Accenture Inc
PH
What are the parameters set-up before calling the Delete Attachment?


CollabPartnerz
IN
You can loop on attachemnts list and inside loop you can call your activity.


Pegasystems Inc.
US
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.