A Data Mapper Extract retrieves a list of Cases. The requirement is to output the data in a specific, nested JSON structure:
{"CaseDetails": {"Info": [...]}}
How should an OmniStudio Consultant define this complex output structure?
Suggested Answer: D
Explanation:
The correct approach is to define the required hierarchy in the Data Mapper output mapping by setting the appropriate JSON Output Path. Data Mapper Extracts are not limited to the raw Salesforce object structure; the consultant can control where extracted values appear in the output JSON. Using output paths allows the Cases to be placed under a structure such as CaseDetails.Info without manually building a JSON string. A Formula is the wrong tool because manually concatenating JSON is brittle and hard to maintain. A separate Transform may be useful for more advanced restructuring, but it is not required when the Extract output mapping can define the structure directly. Salesforce documentation describes Data Mapper output paths and expected output mapping for extracted data.
================