Global Analysis
Global Analysis is aprity's cross-object, org-wide analysis feature. While standard scans document each Salesforce object independently, Global Analysis examines the relationships and patterns across your entire org to surface insights that are not visible at the individual object level.
What Global Analysis Does
Global Analysis uses a large-context AI model to process the combined documentation and dependency data from all objects in your org. It identifies:
- Cross-object patterns -- recurring automation structures, shared field usage, and common business logic themes that span multiple objects.
- Architectural risks -- circular dependencies, overly complex automation chains, and objects that serve as single points of failure.
- Recommendations -- actionable suggestions for simplifying automations, consolidating duplicate logic, and improving maintainability.
- Org health indicators -- metrics about automation density, dependency complexity, and technical debt distribution.
How It Works
Global Analysis runs as a dedicated step during the scan's analysis phase:
- Object-level analysis completes -- each object is documented independently.
- Context aggregation -- aprity compiles the analysis results from all objects into a unified context.
- Cross-object analysis -- the AI model processes the aggregated context to identify org-wide patterns and risks.
- Report generation -- findings are written into a dedicated Global Analysis section in the documentation output.
Global Analysis uses an AI model with a large context window (up to 1 million tokens) to process the entire org's documentation in a single pass. This enables it to identify connections and patterns that per-object analysis cannot detect.
Output
The Global Analysis results appear as a dedicated section in the generated documentation, regardless of output format. In DOCX and PDF, it is included as an appendix. In HTML and Markdown, it appears as a top-level section.
The section typically includes:
Executive Summary
A high-level overview of the org's automation landscape: how many objects have automations, the overall complexity level, and the top findings.
Cross-Object Patterns
Identified patterns that repeat across multiple objects. For example:
- "Seven objects share a similar approval routing pattern triggered by a Status field change."
- "Three objects implement duplicate detection logic through before-insert triggers."
Risk Assessment
Flagged issues that may affect maintainability, performance, or reliability:
- Circular dependency chains between objects.
- Objects with excessive automation layers (e.g., a trigger, two flows, and a process builder all firing on the same event).
- Orphaned automations that reference deleted or inactive components.
Recommendations
Concrete suggestions for improving the org's automation architecture. Recommendations are actionable and reference specific objects and automations.
Enabling Global Analysis
Global Analysis is enabled in the Generate tab as a toggle before launching a scan.
- Open the Generate tab.
- Locate the Global Analysis toggle in the analysis options section.
- Enable the toggle.
- Configure the remaining scan options and launch the scan.
Global Analysis adds processing time to the scan because the AI model must process the combined context from all objects. For large orgs (100+ objects), expect an additional 2-5 minutes.
Plan Availability
| Plan | Global Analysis Available |
|---|---|
| Trial | Yes |
| Starter | No |
| Professional | Yes |
| Enterprise | Yes |
Global Analysis is not available on the Starter plan. If you used it during your trial period and then subscribed to a Starter plan, you will need to upgrade to Professional or Enterprise to re-enable it.
Comparison with Standard Analysis
| Feature | Standard Analysis | Global Analysis |
|---|---|---|
| Scope | Per object | Entire org |
| Outputs | Object-specific documentation | Cross-object patterns, risks, recommendations |
| AI context | Single object | All objects combined |
| Processing time | Included in base scan | Additional 2-5 minutes |
| Toggle | Always on | Optional |
Standard analysis and Global Analysis are complementary. Standard analysis documents what each object does. Global Analysis documents how objects interact and where the org as a whole can be improved.
When to Use Global Analysis
- You are onboarding onto a new Salesforce org and need a high-level understanding of its automation architecture.
- You are preparing for a technical review or architecture assessment.
- You suspect there is redundant or conflicting logic across multiple objects.
- You want to identify the highest-risk areas of your org for prioritized refactoring.
- You are producing a comprehensive compliance deliverable that requires org-wide coverage.