Manage business rule logging

You can enable logging of business rule history to help debug the rule and make necessary changes.

Enabling logging helps view the business rule history for the business rules executed using a process or form. When a business rule is executed within a process with logging status enabled, the history is recorded as a separate job and can be viewed from the parent job properties by selecting the rule and drilling into the properties. When a business rule is executed using a form, test business rule option or a capture action with logging status enabled, the history is recorded as a separate job, and you can search for the business rule job using a job search.

The business rule history is recorded as and when each business rule activity is executed (asynchronous logging) or when the business rule within the process is completely executed (synchronous logging). The executing business rule activities appear with the history status as New Business Rule and the completed business rule activities appear with status Performed.

You can delete the business rule jobs (delete logging) from the database.

Note When Archived Finished Job server setting is set to Yes, on completion or termination of parent job, all the associated business rule jobs are not moved to archive database.

The Export and Import functionalities are not supported for business rule logging.

  1. On the Administration menu, click Manage Business Rule Logging.

    The Manage Business Rule Logging page displays the list of available business rules.

  2. The Category list displays the categories to which the user has access to. By default, the working category of the logged-on resource appears on the Category list. To filter the business rule on category, on the Category list, select the category to which the business rule belongs.
  3. To enable logging for a business rule, select the check box for the business rule and on the Logging Status list, select either option: (Default: Disabled)
    • Record on Rule Completion: Records the history when the business rule is executed.
    • Record during Rule: Records the history as and when each business rule activity is completed.
  4. Click Update Status.
    The logging status of the selected business rules is updated.
    Note
    • When a business rule is executed with logging status enabled, all the child rules are also logged.

      Note The child rule logging status does not change.

    • When a business rule fails, the business rule job and the parent job are suspended.

  5. You can delete logging for a single business rule or multiple business rules by selecting the check boxes for the rule, or delete all the business rules by selecting the check box for Rule Name on the header and click Delete Logs.
    A message appears to confirm deletion.
  6. Click OK to confirm deletion.
    All the business rule jobs and sub jobs associated with business rule jobs are deleted.
    Note
    • The business rule logs are deleted asynchronously.

    • You cannot view the history of a business rule for which logging is deleted.