# Beyond Apex

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. &#x20;

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!

{% hint style="info" %}
We recommend you work through the examples below in the order they are presented.&#x20;
{% endhint %}

<figure><img src="/files/MpsgQBCZntrmJlRCakL5" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://triton.pharos.ai/pharos-triton/beyond-apex.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
