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

Invoking a local action from button does not work as expected

SA-17180

Summary



When launching a modal dialog as a local action, clicking the 'submit' button in the local action does not populate the results of the dialog to the screen or close the modal dialog.





 


Error Messages



Not Applicable


Steps to Reproduce



1. Invoke a local action on click of a button. 
2. The local action should open a Modal Dialog. 
3. On click of Submit from the Modal Dialog, the behind screen should populate some values. 
4. Save this flow and execute. 

Note: The screen is not getting refreshed, due to which the document details are present on the screen even though they values are present on the clipboard. Also, the modal window screen of the local action stays on the screen


Root Cause



A custom Local Action was being used, where a file attachment was being tried.

Resolution



Perform the following local-change: 

Use OOTB local action "AttachAFile" for doing file attachments through a Modal Dialog.

 

Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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