Vivek Bommayappan (VIVEKATCTS)

VIVEKATCTS Member since 2012 2 posts
Posted: February 19, 2020
Last activity: February 19, 2020
Posted: 19 Feb 2020 9:50 EST
Last activity: 19 Feb 2020 10:12 EST

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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.