Replies: 1 comment 3 replies
-
Hi @KarciSF - this is great feedback, I don't typically work with Flows myself (most of my work is done in Apex & LWC), so I appreciate the insight on this. And based on the 2 ways you've tried so far, I think the "right" way to handle logging in a Screen Flow is to use your option "Saving Logs for Each Entry" - you'll want to save logs before switching any element that breaks the transaction/starts a new transaction. However, to your point - this approach is missing a unified picture of the Screen Flow's whole execution. In the current version of Nebula Logger, I don't think there's a way to properly handle this (and I don't think using Platform Cache would scale well), but I think there are a few enhancements that can be made to improve logging in Screen Flows:
Let me know what you think. My hope is to make progress on some of these enhancements over the next month (I have a few other enhancements & bugfixes that I need to finish first). |
Beta Was this translation helpful? Give feedback.
-
Hello guys,
I'm currently exploring the functionality of Nebula Logger and have encountered a specific challenge related to screen flows. My objective is to group logs from a screen flow that is segmented by different screens (and thus breaking transactions) into a single consolidated log.
Here's what I've tried so far:
During my research, I came across a tutorial by Matt Gerry where he discussed linking different Aura components together under one session using the platform cache. Could this approach be adapted for use with flows as well, possibly out of the box, or would it require code adjustments to support this functionality?
As someone new to Nebula Logger, I believe I might not be the first to face this challenge. I'm hopeful that there might be a way to achieve this with the current version of Nebula Logger, although I haven't found any specific information or guidelines on this yet.
Any guidance, tips, or shared experiences would be greatly appreciated!
Thank you in advance for your support and assistance.
Karol
Beta Was this translation helpful? Give feedback.
All reactions