BO Algorithm Execution Summary

This table highlights the processing steps that occur when adding or changing a record that is governed by a business object.

Invoke BO
Event Comments

BO Pre-processing algorithms executed

These algorithms are only executed when Invoke BO is used. The business object in the Invoke BO is the one whose rules are executed.

MO Processing
Event Comments

Determine if status has changed.

The system keeps a note of the new status value but initially proceeds with the old value.

MO Processing.

Standard MO processing, including MO validation is executed.

Determine BO algorithm executed.

The MO level algorithm is executed to determine the identifying BO.

BO Validation algorithms executed.

State transition rules are performed if the status has changed.

BO Status Exit algorithms for the “old” status executed.

Status updated to the new value.

BO Status Enter algorithms for the “new” status executed.

If no error — MO Transition algorithms are executed.

Fastpath: Refer to State Transitions are Audited for more information.

If error and there are “save points” the MO Transition Error algorithms are executed.

Fastpath: Refer to Keeping An Entity In Its Last Successful State for more information.

Otherwise, the error is reported.

BO Status Monitor algorithms are executed.

If the record transitions again, the prior step (State transition rule step) is repeated for the new transition.

BO Post-processing algorithms are executed.

BO Audit algorithms are executed.

These algorithms are only executed if the system detects a change in elements that are not marked with “no audit”.

Note: To emphasize, the steps in the MO Processing table are only executed when the maintenance object service is invoked. Any add or update initiated by an “invoke BO” statement will invoke the MO service. This is also true for web service that invoke the business object. The Monitor Batch Process does not invoke the maintenance service. By default the monitor batch process only executes the monitor algorithms and the state transition rules (if the monitor algorithms indicate that a status change should occur). However, it is possible for an Enter algorithm, Exit algorithm or Monitor algorithm to indicate that the other algorithms should be executed by the batch process. If the “force post processing” indicator is set to true, then the batch process invokes the BO Post Processing, BO Audit and MO Audit algorithms.
Note: For records that do not have a status, the state transition rules and the monitor rules are not applicable.