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

Getting Error while selecting from drop down

SA-9352

Summary



User has a dropdown for which they have configured runscript on change.
In the script they are calling doFormSubmit('{URL}&pyActivity=activity&TaskName=taskselected');
When they are changing the values of the dropdown with key board, they are getting below error.
This action is not allowed as it is outside the current transaction.


Error Messages



This action is not allowed as it is outside the current transaction.

Steps to Reproduce



create a dropdown.
for on change run a script doFormSubmit('{URL}&pyActivity=activity&TaskName=taskselected');
try to change values of dropdown with keyboard


Root Cause



Due to several enhancements from PRPC v5.5 to PRPC v7.x several security checks has been implemented and this is causing the issue.

Resolution



This issue is resolved through the following local change: Instead of calling the function on change of the dropdown value, they can call it on click of a button (a "Go" button for example) placed beside the dropdown.

Published June 12, 2015 - Updated October 8, 2020

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