> For the complete documentation index, see [llms.txt](https://triton.pharos.ai/pharos-triton/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://triton.pharos.ai/pharos-triton/methods-reference/apex-methods-reference/tritonhelper/postprocessingcontrolsbuilder.md).

# PostProcessingControlsBuilder

### setAll(Boolean value)

```apex
public PostProcessingControlsBuilder setAll(Boolean value)
```

Sets all flags according to the Boolean value provided.

`value` -- Boolean value to set all flags to

### stackTrace(Boolean value)

```apex
public PostProcessingControlsBuilder stackTrace(Boolean value)
```

Sets the stack trace post processing control. This is only applicable to Apex and Integration logs. When this value is set for an Apex log, Pharos will fetch a context-enriched stack strace and render a view showing several lines around each of the stack trace entries. When this value is set to true for an Integration category log, Pharos will render a Postman-like view of the request and response payloads provided with the log record.

`value` -- Boolean value to set

### userInfo(Boolean value)

```apex
public PostProcessingControlsBuilder userInfo(Boolean value)
```

Sets the user info post-processing control. If set to true, Pharos will automatically fetch the first and last name of the user based on user Id value from a log record. This will be used to show a link to the user record from the log detail page.

`value` -- boolean value to set

### objectInfo(Boolean value)

```apex
public PostProcessingControlsBuilder objectInfo(Boolean value)
```

Sets the object info post processing control. If set to true, Pharos will automatically fetch the label of the related record based on related object Id value from a log record.

`value` -- Boolean value to set

### relatedObjects(Boolean value)

```apex
public PostProcessingControlsBuilder relatedObjects(Boolean value)
```

Sets the related objects post processing control. If set to true Pharos will automatically fetch all labels of related object records based on related object Ids value from a log record.

`value` -- boolean value to set

### deployResult(Boolean value)

```apex
public PostProcessingControlsBuilder deployResult(Boolean value)
```

Sets the deploy result post processing control. If set to true Pharos will automatically fetch the 10 most recent deployments that took place in your org.

`value` -- Boolean value to set

### auditTrail(Boolean value)

```apex
public PostProcessingControlsBuilder auditTrail(Boolean value)
```

Sets the audit trail post processing control. If set to true Pharos will automatically fetch the org audit trail for the last 48 hours (if available).

`value` -- Boolean value to set

### pendingJobs(Boolean value)

```apex
public PostProcessingControlsBuilder pendingJobs(Boolean value)
```

Sets the pending jobs post processing control. If set to true Pharos will automatically fetch all pending jobs currently in the flex queue.

`value` -- Boolean value to set

### totalActiveSession(Boolean value)

```apex
public PostProcessingControlsBuilder totalActiveSession(Boolean value)
```

Sets the active sessions post processing control. If set to true Pharos will automatically fetch the total number of logged in users (active sessions).

`value` -- Boolean value to set

### installedPackages(Boolean value)

```apex
public PostProcessingControlsBuilder installedPackages(Boolean value)
```

Sets the installed packages post processing control. If set to true Pharos will automatically fetch the names of all installed managed and unmanaged packages.

`value` -- Boolean value to set

### build()

```apex
public String build()
```

Returns an instance of the post processing controls in JSON format. Pass the output of this method to the *postProcessing()* method in the *TritonBuilder* class as described [here](https://triton.pharos.ai/pharos-triton/methods-reference/apex-methods-reference/tritonhelper/pages/1YGCRQeFszm8wXwlZU7X#postprocessing-tritonhelper.postprocessingcontrolsbuilder-postprocessingbuilder).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/methods-reference/apex-methods-reference/tritonhelper/postprocessingcontrolsbuilder.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.
