Module
common_audit
Module common_audit
enelorg/common_audit
1.0.0
SFDC Connection 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 enelorg/common_audit;Other versions
1.0.0
0.1.0Metadata
Released date: about 7 hours ago
Version: 1.0.0
Compatibility
Platform: any
Ballerina version: 2201.13.4
GraalVM compatible: Yes
Pull count
Total: 1
Current verison: 1
Weekly downloads