Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Registering the action and preventing the security alert

Updated on July 1, 2021

When you see the message "Unregistered request encountered" in the security alert log, you need to fix the behavior of the non-autogenerated control that invokes the specified rule. One way to prevent this alert from being logged is to register the action.

This procedure uses setStockPrice as a sample action/function name.
  1. Define the action using the following steps:
    1. On the Action tab for the button, click Add an action.
    2. Click All actions, and then click Run script.
    3. In the Function Name field, enter setStockPrice.
      The Function Name Field with setstockprice added
      The dialog box when setstockprice is added to the Function Name field
  2. Register the data transform and prevent the security alert:
    1. Select the Configure OOTB actions used in run script check box.
    2. Click Add an action.
    3. Select the Run data transform action.
    4. In the Data Transform field, enter setStockPriceDT.
      Select the Configure OOTB actions used in run Script checkbox
      The dialog box when the Configure OOTB actions used in run Script checkbox is selected
    5. Click Submit.
    Note: Your function might call numerous rules or rules other than a data transform. Steps 2c and 2d in this procedure will be different when you configure your non-autogenerated control with your custom function.
    • Previous topic Configuring a custom control by using the rule form
    • Next topic Submitting the action request content in encrypted form

    Have a question? Get answers now.

    Visit the Support 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.com is not optimized for Internet Explorer. For the optimal experience, please use:

    Close Deprecation Notice
    Contact us