Business rules

Business rule execution

PolicyCenter logs the following information automatically whenever a business rule completes execution:
  • Traceability ID
  • User number in database (user field)
  • User ID
  • User name
  • Session
  • Fields specific to the individual rule, including:
    • Rule ID
    • Rule name ('name' in message)
For the following example, the logger name is BizRules.Audit.ReferralTrigger.
{"thread": "qtp769877691-19", "level": "INFO", "loggerName": "BizRules.Audit.ReferralTrigger", 
      "message": 
      "{\"VersionID\":\"pc:2949e0f1-8da9-4ed9-957c-873ff597bf79\",\"ContextDefinitionKey\":\"GenericPolicy\",
      \"Context\":{\"policyEvalContext\":\"gw.policy.PolicyEvalContext@715e6829\",
      \"Util\":\"gw.bizrules.provisioning.contexts.PolicyContextDefinitionLibrary@7ebef26d\",
      \"policyPeriod\":\"Unassigned, 03/28/2019, 09/28/2019, 0000143260\"},
      \"Version\":\"0+ (Draft)\",\"RuleID\":\"pc:2949e0f1-8da9-4ed9-957c-873ff597bf79\",
      \"ValidRule\":false,\"Name\":\"Bind referral\"}", 
      "endOfBatch": false, "loggerFqcn": "org.apache.logging.slf4j.Log4jLogger", 
      "contextMap": { "job": "0000143260", "lobs": "PersonalAutoLine", "policyID": "102", 
      "policyPeriodID": "103", 
      "product": "PersonalAuto", "session": "node0vlvxv8eqok1n14buuhf3fvdda1", 
      "traceabilityID": "87d4835e-b27d-46ec-914a-12f0543c9201", 
      "user": "3", "userID": "su", "userName": "Super User" }, "threadId": 19, "threadPriority": 5 }