Skip to main content

Table of Contents

Registering the action and preventing the security alert


Only available versions of this content are shown in the dropdown

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.

    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.
    Did you find this content helpful?

    Have a question? Get answers now.

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

    Ready to crush complexity?

    Experience the benefits of Pega Community when you log in.

    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