Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Validation does not work on the Bulk Transfer Modal window

SA-76319

Summary



Validation does not work on the Bulk Transfer Modal window.


Error Messages



Not Applicable


Steps to Reproduce

  1. Navigate to Bulk Transfer.
  2. Select items to transfer.
  3. Click the Transfer action and proceed without providing an operator or work basket. The modal window is submitted without validation.


Root Cause



In the pyModalTemplateBulkProcessing section, the OK button configuration did not check for client side validations if any exist. The modal dialog closes when validation errors exist. There is no Submit action on that configuration. Instead, if errors are present, the validation errors display in the processingResults column in the pyBulkProcessingAssignDisplayNotes section.


Resolution



Perform the following local-change: 
  1. Add the below script in the UserWorkForm.

    <script>
    function submitModalDlg() { 

     doModalAction(pega.u.d.submitModalDlgParam,event) 
     }
    </script>

     
  2. Navigate to the pyModalTemplateBulkProcessing section.
  3. Remove the doModalAction method in the runScript method and invoke the submitModalDlg function.

 

Published April 4, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us