Skip to content

Run audit selection tests

Premium-audit workflow detail.

Field Value
Operation ID OP-002
Trigger Selection manager has candidate audits for a category
Inputs Selection category, candidate audits, tester rules and values
Outputs Audits marked selected or deselected with test-result evidence
Primary components clsAuditSelectionManager.RunAuditSelectionTests, clsAuditSelectionTester.TestAudit
Entry point Business\SAIF.Business.Policy.Audit.Premium\clsAuditSelectionManager.vb

Steps

  1. Load the category-specific tester and its threshold/value data.
  2. Execute every configured rule against each candidate audit.
  3. Deselect audits for deselection categories, skip audits with disqualifying results, and select audits that satisfy the category rule count.
  4. Traceability summary. Primary rules: BR-001, BR-002, BR-003, BR-054, BR-072. SQL and Oracle calls: SQL-016, SQL-055, SQL-056, SQL-057, SQL-062, SQL-063, SQL-064, SQL-065, SQL-066, SQL-073, SQL-094.

Process flow

The following diagram visualizes this operation's control flow.

flowchart TD
 Start([Trigger]) --> S1[Load context]
 S1 --> S2[Run core logic]
 S2 --> EndOk([Outcome])

Failure and edge-case behavior

  • Review the linked rule and SQL documents for operation-specific validation failures and persistence behavior.
  • Remote-wrapper SQL and not-found Oracle references are documented in the linked SQL and procedure pages where applicable.

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business\SAIF.Business.Policy.Audit.Premium\clsAuditSelectionManager.vb