Posted: 17 Oct 2019 12:01 EDT Last activity: 18 Oct 2019 6:06 EDT
Identify attachment in task
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
***Edited by Moderator Marissa to update platform capability tags****
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.