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

Action on Enter Key not executed

SA-48563

Summary



The action on a field for the Enter key (or any other key) does not execute.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a screen with a field.
  2. Configure the action for the Enter key with a Refresh and an Activity Call.
  3. Run the action. Enter values in the field and press Enter to launch the Tracer.


Root Cause



The UserWorkForm included the following script:

<pega:when name="CPMThemeUIEnabled">
<pega:include type="Rule-HTML-Section" name="CPMPayload" />
</pega:when>


The jsonscript.js in the above code snippet caused a JSON parse to fail the action. This resulted in an empty executor array. Though the jsonscript.js file was present in the Pega 7 platform, it is no longer used in base Pega.


Resolution



As a local-change, remove the below code from the UserWorkForm: <pega:when name="CPMThemeUIEnabled">
<pega:include type="Rule-HTML-Section" name="CPMPayload" />
</pega:when>



Published April 29, 2018 - 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