Pharos Triton
  • 🔱About Pharos Triton
  • 🏁Installing Pharos Triton
  • Apex Logging Basics
  • Common Apex Usage Patters
    • Batch Logging
    • Integration Logs
    • Apex Rest Logging
    • Full Control with TritonBuilder
  • Beyond Apex
    • LWC
    • 🔄LWC Transaction Management
    • ⚡LWC and Apex
    • 💾Platform Cache for Transactions
    • Flows
    • 〰️LWC, Apex and Flows
  • 📖Methods Reference
    • 📔Apex
      • Triton
      • TritonBuilder
      • TritonTypes
      • TritonLwc
        • ComponentLog
        • Component
        • Error
        • RuntimeInfo
      • TritonFlow
        • FlowLog
      • TritonHelper
        • PostProcessingControlsBuilder
      • LogBuilder
    • LWC
      • Triton
      • TritonBuilder
      • TritonUtils
  • Help and Support
Powered by GitBook
On this page

Beyond Apex

In this series of articles we'll cover more advanced logging scenarios that extend beyond Apex code.

PreviousFull Control with TritonBuilderNextLWC

Last updated 10 months ago

Oftentimes, we may have more than Apex code running in our environments. Salesforce offers a variety of technologies you might be using. Chances are, your org has a mix of Apex, LWC, and Flows, in varying proportions.

This makes troubleshooting considerably more complicated. What if a trigger kicks off a Flow and that Flow breaks? What if an LWC component kicks off some Apex code that breaks during a DML operation? What if there's a screen flow that invokes some Apex backend that kicks off a Flow? The number of such permutations one can encounter is vast. That's why we've put together some helpful tips to enable logging across any mix of technologies your team might be using.

The biggest problem with using a mix of platform technologies is being able to trace the execution throughout the entire transaction. Luckily, Triton has a way to deal with this and provide you with a unified trace of execution that includes ample details.

Read on for some of the more common examples. If you don't see your exact scenario covered, we'd love to hear from you!

We recommend you work through the examples below in the order they are presented.