Skip to main content


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

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.

When to use Declarative Expressions

Updated on September 13, 2021

This presentation is part of the Declarative Expressions Self-Study Course.

Transcript

To decide whether to use declarative or procedural rules to do your calculations, follow these guidelines.

Use declarative rules when rules need to be executed:

  • All the time
  • Not well defined (i.e., no one can say that the rule will only need to be executed at specific times)
  • Only when the input data changes
  • Only when the stored result of the rule is used

Use procedural rules when rules need to be executed:

  • At well defined intervals
  • You need control of when a rule is fired

 

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