Business Rules on Approval

Global business rules valid for the node being worked can be evaluated or executed during the approval process.

Global business rules are set to run on approval in the Business Rule editor. For more information, see the On Approve section of the Editing a Business Rule topic here.

For information on running business rules during the import process, see the Business Rules in an Import Configuration topic here.

Evaluate Condition

On conditions, specify to validate the condition before and/or after approval.

Note: The condition is only guaranteed to be met for a given object at the moment it is tested. If the condition depends on data owned by other objects, those objects can change and be approved without the condition being reevaluated. Therefore, it is common setup to test data on the objects that owns the data.

For details on adding a condition, see the Specifying a Business Condition Operation topic here.

Execute Action

On actions, specify to execute the action on approve and/or to approve changes as well. Execution always takes place in the main workspace prior to the actual approval.

For details on adding a condition, see the Specifying a Business Action Operation topic here.

On Approve Process

When objects are selected for approval, and business rules are set to run On Approve, the steps below are followed:

  1. If there is nothing to approve, exit without running business rules.
  2. If there is data to approve, run actions configured to be executed on approval.
  3. Test all conditions configured to be validated before approval (for sub-conditions, run only until one of them fails). If one or more fails, go to step 8.
  4. If using an event-based OIEP, run event filter conditions and event generator actions. Exit and roll back if mandatory data is missing.
  5. Perform the approval, including standard dependency checks. If one or more fails, go to step 8.
  6. Run all conditions configured to be validated after approval (for sub-conditions, run only until one of them fails), and perform standard mandatory checks. If one or more fail, go to step 8.
  7. Run mandatory checks in Approved workspace. Exit and roll back if mandatory data is missing.
  8. Commit changes if all previous steps were successful, or roll back changes if any conditions failed.

Due to the order of the On Approve Process, note the following:

Note: If multiple conditions and actions are tested and/or executed on approval, the order in which the conditions are tested and the actions are executed is not guaranteed.

Business Rules that Run on Approve

Follow the steps below to display a list of all business rules set to run on approval.

  1. In System Setup > Users & Groups > click the System Settings tab.
  2. Open the Business Rule Approve Overview flipper to display business rules configured to be evaluated or executed On Approve.