Close popover
Vivek Bommayappan (VIVEKATCTS)

VIVEKATCTS Member since 2012 2 posts
Posted: February 19, 2020
Last activity: February 19, 2020

Drag and Drop upload - File restriction

Hi All,

   pzDragDropMultiFileUpload activity is being called when drag and drop file upload is performed. As this is the Final activity, we are unable to do any file type (pdf,docx,etc) validation. The post activity - pzSaveAttachments is also final. So we have used CallVirusCheck activity to do the file type validation. We are able to set the error in case of invalid file types. Now the user removes the invalid file and again drag & drop correct file in the same screen.  But the error set on dragDropFileUpload (Which is set due to previous invalid file) is not cleared. Hence pzSaveAttachments activity fails due to step-2 pre-condition. (@(Pega-RULES:Page).PageExistsWithClass(dragDropFileUpload, tools) && @hasMessages(dragDropFileUpload))

  We are unable to clear the error as the activity is final rule. Kindly provide your suggestions..

Pega Customer Service 7.31 Enterprise Application Development Dev/Designer Studio Insurance Senior System Architect
Moderation Team has archived post