Defining Procedures for a Business Rule Process

Procedures are collections of steps. When a procedure is executed, each step in the procedure is executed in sequence.

One of the procedures is designated at the process level as the entry procedure. This procedure is executed when the process is executed. Within the entry procedure, other procedures are invoked by additional procedure statements.

Each procedure is uniquely identified by its name. The name must begin with a letter. It can contain alphanumeric, spaces, underscores, and hyphens. It cannot contain other special characters such as an ampersand (@), exclamation mark (!), or percent sign (%). Procedure names are case sensitive.

A procedure can have its own local properties. These properties can only be accessed within the procedure where they are defined. If a local property has the same name as a global property, the local property takes precedence over the global property.

Note: Business rule processes are not permitted to use recursion. If you define a recursion, then you will receive an error message that recursion is not allowed.

This step is part of Process of Defining Business Rule Processes.

To define a procedure for a business rule process procedure

  1. Navigate to the Business Rule Processor screen and select a process.

  2. Click the Procedures view tab, and create a new procedure.

  3. In the Properties list, create new records to define local variables for the procedure.

    The fields for a local variable are equivalent to those of a global variable. The fields are described in About Business Rule Process Property Types.

Note: Properties defined for a procedure are local variables accessible only to the parent procedure. You can define global variables in the Business Rule Processor Properties view. See Using BRP Helper Business Services.