Flow not saving logs #699
-
Hi. I'm trying to create logs from flows and having no luck in either sandboxes or production. Take this simple flow: I've set Save Log to true and still I'm getting no logs created. I tried having that set to false and using the separate Save Log action but still no logs. The debug log shows no errors and debugging the flow shows that the action returns a transaction Id: I have the Nebula Logger: Admin and Nebula Logger: Log Creator permission sets assigned to myself. Logs are being created through Apex and LWC successfully, this is just a flow specific issue. I read #675 but that seems to be caused by user error (I actually just added a comment on that issue to point that out). Any suggestions? Do I need to enable some other permission or setting in order to create logs through flows? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@ministe2003 very strange! Offhand, I don't see any issues with what you've setup in Flow, but there could be a few other things that might be causing the problem:
Let me know if either of those options helps in your org! |
Beta Was this translation helpful? Give feedback.
@ministe2003 very strange! Offhand, I don't see any issues with what you've setup in Flow, but there could be a few other things that might be causing the problem:
DEBUG
logging level enabled viaLoggerSettings__c
- since you're not setting the "(Optional) Logging Level" property in your Flow, it usesDEBUG
by default. If you don't haveDEBUG
enabled viaLoggerSettings__c.LoggingLevel__c
, then it won't save the log entrySYNCHRONOUS_DML
- this save method will immediately try to create records inLog__c
&LogEntry__c
, and can help surface hidden errors in Nebula LoggerLet me kn…