You are here:
JSON Output Types and Formula Functions for DocGen Transformation
DocGen uses these JSON output types and formula capabilities for transformation.

Använd mer allmänna söktermer.
Välj färre filter för att utöka din sökning.
You are here:
DocGen uses these JSON output types and formula capabilities for transformation.
| Available in: Lightning Experience |
| Available in: Professional, Enterprise, Unlimited, and Developer Editions |
| Output Type | Description | When to Use |
|---|---|---|
| Simple | Flat structure | For direct mapping when data doesn’t require restructuring |
| Group | Categorized records | In grouped sections when records require grouping by a field or condition |
| Hierarchy | Parent-child structure | For nested data |
| Composite | Combined outputs | For multilevel relationships |
| Category | Action | Supported Functions |
|---|---|---|
| Arithmetic | Run basic and complex math operations. | +, -, *, /, ABS, ROUND |
| Logical | Evaluate multiple conditions simultaneously. | AND, OR |
| Comparison | Validate numerical or data thresholds. | >, <, <=, >=, == |
| Conditional | Implement branching logic and fallbacks. | IF, CASE, ISBLANK, BLANKVALUE |
| String | Merge text for professional output. | CONCAT, SUBSTR, UPPER, TRIM |
| Date and Time | Format and calculate temporal data. | FORMATDATETIME, DATEDIFF, ADDDAYS |
| Relative | Create sequences and cumulative partitions. | ROWNUMBER, RANK, SUM, LAG |

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.