Creatio development guide
PDF
bpm’online development guide
This documentation is valid for Creatio version 7.12.0. We recommend using the newest version of Creatio documentation.

Rules. The "rules" property

Glossary Item Box

Introduction

Rules is a standard system mechanism, which enables the developer to add an implementation of typical functions by configuring view model columns.

The functions of rules are implemented in the BusinessRuleModule client module. Add the BusinessRuleModule module to the list of schema dependencies to use these functions.

define("CustomPageModule", ["BusinessRuleModule"],
    function(BusinessRuleModule) {
        return {
            // Client module implementation
        };
    });

Rule types are defined in the RuleType enumeration of the BusinessRuleModule module.

General procedure for declaring the rules:

  • All rules are described in the rules property of the schema.
  • The rules are applied to view model columns, not to controls.
  • Rules have names.
  • Rule parameters are set in its configuration object.

To learn more about business rules and to see the examples of their use, please refer to the “Setting the edit page fields using business rules” chapter.

© bpm'online 2002-2019.

Did you find this information useful?

How can we improve it?