Question

How to attach a file before case creation?

Hi, I am new to Pega. I tried to search my question but could not get anything from PDN.

May I know is there a possibility to attach a file on the first screen/clipboard, before Case creation? Then when user click on Create, it will tied the attachment to the case.

Thank you.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

December 11, 2017 - 4:12am

Hi,

You need to add the section pyCaseAttachmentsTopWraaper on the first screen.

Please let me know if this helps.

Regards,

Rachit

December 14, 2017 - 12:49am
Response to Rachit_Agarwal

Hi Rachit,

Thanks for replying. I have tried it but it is not working.

Looks like it is still looking for a pzInsKey in Work- SaveAttachment

December 14, 2017 - 11:23am

Hi,

Yes, I observed the same behavior. So, I did a private- edit and commented the 1st step and again ran the scenario. Could now attach the file.

Can you try and implement a similar activity which could attach a file in pyAttachments under pyWorkPage. Please let me know in case of any queries

 

 

 

December 14, 2017 - 2:49pm
Response to Rachit_Agarwal

Rachit, As the case is not created yet, how can the link be established between attachment instance in table and the case in work table?

December 26, 2017 - 4:12am
Response to SREEPADI

Actually, what I tried to do is link the attachment in front end only, and later once the case is created we could link the same attachment to work object/DB. But it seems like currently, we cannot do that.

 

December 27, 2017 - 1:52am

It could be bit cumbersome. Please check my answer in this post.