Note: There is a newer version (1.0.1) of this package available. Click here to view docs for the latest version.
Module
common_audit
Module common_audit
biorg/common_audit
1.0.0
Audit Log Library
Functions
logAudit
function logAudit(string processName, ProcessStep processStep, string? xmlPayload, string? processId) returns string|errorLogs an audit entry to the auditLog table. If processId is not provided, a new UUID is generated and returned.
Parameters
- processName string - Name of the integration process being audited
- processStep ProcessStep - Current step label within the process (e.g. "START", "SFDC_CALL", "END")
- xmlPayload string? (default ()) - Optional XML payload to store alongside the audit entry
- processId string? (default ()) - Optional existing process correlation ID; a new UUID is assigned if omitted
Enums
common_audit: ProcessStep
Members
START
END
ERROR
Configurables
Records
common_audit: AuditEntry
Closed record
Fields
- processId string -
- processName string -
- processStep ProcessStep -
- xmlPayload string? -
Import
import biorg/common_audit;Other versions
1.0.1
1.0.0
Metadata
Released date: 8 days ago
Version: 1.0.0
Compatibility
Platform: java21
Ballerina version: 2201.13.3
Pull count
Total: 3
Current verison: 3
Weekly downloads