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, the 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.
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.
Export and Import are not supported for business rule logging.
-
On the
Administration menu, click
Manage Business Rule Logging.
The Manage Business Rule Logging page displays the list of available business rules.
- 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.
Update logging status
You can enable logging for a business rule and update its logging status.
-
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.
-
Click
Update Status.
The logging status of the selected business rules is updated.
-
When a business rule is executed with logging status enabled, all the child rules are also logged. However, the child rule logging status does not change.
-
When a business rule fails, the business rule job and the parent job are suspended.
-
Delete logs
You can delete logging for a single business rule, multiple business rules or all business rules.
-
Select the rules:
-
To delete log for a single rule, select the check box for that rule.
-
To delete logs for multiple rules, select the check boxes for the rules.
-
To delete logs for all rules, select the check box on the table header.
-
- Click Delete Logs.
-
When prompted, click
OK to confirm deletion.
All the business rule jobs and sub jobs associated with business rule jobs are deleted.
-
The business rule logs are deleted asynchronously.
-
When you view the history of a business rule for which the logging is deleted for a parent map, a warning message appears.
-