Skip to main content

Table of Contents

Creating a declarative trigger


Only available versions of this content are shown in the dropdown

In this step, you create a declarative trigger (Rule-Declare-Trigger) for each class you want to track.

Each class you want to track must have a corresponding model as defined in the Opening the appropriate model to review the default properties process. This rule executes the activity TrackSecurityChanges whenever you save an instance in the class.

  1. Select Application New Decision Declare Trigger to open the New Rule Instance form.

  2. In the Applies To field, enter the security-related class you want to audit.

    Select Data-Admin-Operator-AccessGroup from the Smart Prompt.
  3. In the Purpose field, enter any meaningful name, select your application RuleSet, and click Create to open the rule form.

  4. In the Declare Trigger rule form:

    1. Select Saved in the Trigger When An Instance Is field.

    2. Enter TrackSecurityChanges in the field Trigger Activity —.Name.

  5. Save the rule.

    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