Skip to main content

Table of Contents

Completing the New or Save As form for Access When rules


Only available versions of this content are shown in the dropdown

Records can be created in various ways. You can add a new record to your application or copy an existing one. You can specialize existing rules by creating a copy in a specific ruleset, against a different class or (in some cases) with a set of circumstance definitions. You can copy data instances but they do not support specialization because they are not versioned.

Create an Access When rule by selecting Access When from the Security category.

An Access When rule has two key parts:

Field Description
Apply to Select the class to which this Access When condition applies.

For Access When rules that restrict the opening, modification, or deletion of rules, use Rule- as the Apply to class.

When Name Enter a name for this rule. Begin the name with a letter and use only letters, numbers, the ampersand character, and hyphens.

As a best practice, start the name with a capital letter.

Do not enter either of the keywords True or False as the When Name.

Additional creation options

Field Description
When expression Enter an expression that evaluates to true or false. Type a single period and use the SmartPrompt to access a list of properties.
The string expression you define here is used to allow or disallow, a user from performing an operation or accessing information (instances of a specific class).
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