diff --git a/nebula-logger/main/log-management/classes/LogEntryEventHandler.cls b/nebula-logger/main/log-management/classes/LogEntryEventHandler.cls index 84d02e7dc..aa6e68786 100644 --- a/nebula-logger/main/log-management/classes/LogEntryEventHandler.cls +++ b/nebula-logger/main/log-management/classes/LogEntryEventHandler.cls @@ -212,7 +212,9 @@ public without sharing class LogEntryEventHandler extends LoggerSObjectHandler { this.logEntryEventUuidToTagNames.put(logEntry.EventUuid__c, logEntryTagNames); } } - insert this.logEntries; + Database.DmlOptions dmlOptions = new Database.DmlOptions(); + dmlOptions.AllowFieldTruncation = true; + Database.insert(this.logEntries, dmlOptions); } private void appendRuleBasedTags() { diff --git a/nebula-logger/main/log-management/objects/LogEntry__c/fields/FlowDescription__c.field-meta.xml b/nebula-logger/main/log-management/objects/LogEntry__c/fields/FlowDescription__c.field-meta.xml index 1bd14cb96..5ffbdec95 100644 --- a/nebula-logger/main/log-management/objects/LogEntry__c/fields/FlowDescription__c.field-meta.xml +++ b/nebula-logger/main/log-management/objects/LogEntry__c/fields/FlowDescription__c.field-meta.xml @@ -5,8 +5,10 @@ false Flow definition information, specified by the org’s admin. - false + 4000 false + false false - TextArea + LongTextArea + 8