Question

How to save the attachment size?

Hi All,

We are using Pega 7.2.2 and we have got a requirement to display the attachment size along with the other attachment details like attached by, date etc in one of the screens. I'm able to display the attachment details along with attachment size (https://community1.pega.com/community/product-support/question/how-get-attachments-file-size)

But I'm unable to save it, when I try to save it in Data-Workattach-File page - it says the work object is open and not able to hold a lock. Any other way to save the attachment size?

Cheers

Correct Answer
May 15, 2019 - 7:39pm

I tried all possible combinations but I'm able to achieve only with this combination (attached). 

Comments

Keep up to date on this post and subscribe to comments

May 15, 2019 - 3:50am

Hello, 

Can you share the tracer output to check where the lock can be held

May 15, 2019 - 7:39pm
Response to MarcLasserre_GCS

I tried all possible combinations but I'm able to achieve only with this combination (attached). 

May 15, 2019 - 7:41pm

One small correction, in the GetAttachmentSize activity I had to use Obj-Save with write now checked. Otherwise it doesn't work.