Identify attachment in task

Hello All,

I have an requirement to display the attachment details ( Is attachment available or not) in worklist.I'm preparing the worklist through report definition. But, I couldn't find any value which indicating the attachment details in pyWorkPage. Even, "pyHasAttachment" value also not avilable in pyWorkpage.

Is there any way to resolove my problem? Kindly help. Thanks


Boopathi Balu

***Edited by Moderator Marissa to update platform capability tags****


Keep up to date on this post and subscribe to comments

October 17, 2019 - 12:04pm


What is your business need exactly, present a flag on the assignments list when the case has attachments?

October 18, 2019 - 4:12am
Response to MarcLasserre_GCS

Hello Marc,

Yes, that's my  business requirement.


Boopathi Balu

October 18, 2019 - 2:29am

You should on Data Access tab in your report definition add a class join with Data-WorkAttach-File class. Condition to join: WorkAttach.pxRefObjectKey == .pzInsKey

October 18, 2019 - 3:40am

You can have a sub report on the Link-Attachment class with the a count column on pzinskey and .pxLinkedRefFrom as columns . In the main report on the Assign-WorkList you can have a join condition on .pxRefObjectKey in the Assign-Worklist is equal to . pxLinkedRefFrom on Link-Attachment class. You can get the count column value in the sub report to the main report for the attachment count.

or You can have same with pxRefObjectKey  in Data-WorkAttach-File class.


October 18, 2019 - 4:16am

Hello vaspoz / sriks,

Thanks for your comments. Actually, I looking for options other than RD joins. Is there any staright approach (like in pyWorkPage) which intimates particular task has attachment or not.


Boopathi Balu

October 18, 2019 - 4:32am
Response to Boopathi@Balu

try when rule HasAttachments

October 18, 2019 - 6:06am

pyHasAttachment is getting set as true when we add an attachment to the work object.