Salesforce certification · Exam OmniStudio-Developer

OmniStudio-Developer Mock Exam

Salesforce OmniStudio Developer - Plat-Dev-210

Free OmniStudio-Developer questions on Troubleshooting and Debugging, each with the answer and an explanation.

20 questions · 35 minutes · free, no sign-up

Troubleshooting and Debugging questions

1–5 of 5 free
Question 1 Choose 1
What should a developer's first step be when troubleshooting whether a DataRaptor Extract is retrieving data?
Show answerHide answer

Correct answer: B Go to the PREVIEW tab In OmniScript to test.

Explanation

Summary
When troubleshooting a DataRaptor Extract, the most efficient first step is to use the integrated Preview tab within the DataRaptor interface itself. This tool allows you to execute the DataRaptor in isolation by providing a sample JSON input. It immediately shows the output or any errors, confirming whether the issue lies within the DataRaptor's configuration (like the JSON extract map) or elsewhere in the integration.

Correct Option

B. Go to the PREVIEW tab In OmniScript to test.
This is the correct first step because the Preview tab is a dedicated, controlled environment for testing DataRaptors. You can provide a specific input JSON that mimics what your OmniScript would send, and the tab will display the exact output the DataRaptor returns.

This isolates the DataRaptor's functionality. If it fails here, the problem is definitively within the DataRaptor's configuration (e.g., an incorrect field mapping or object relationship). If it works here, the issue likely lies in how it's being called from the OmniScript or Integration Procedure.

Incorrect Option

A. Go to the Lightning Console and reload the page to test.
This is an inefficient first step. Reloading an entire application page involves many other components (the OmniScript, layouts, other data sources). It does not isolate the DataRaptor, making it difficult to pinpoint the root cause of the data retrieval issue.

C. Deactivate the card and layout, and go to the PREVIEW tab for the card to test.
This approach is overly complex and indirect for the stated goal. The Card's Preview tab tests the entire card, not just the DataRaptor. Deactivating components is unnecessary when a direct testing tool for the specific component in question is available.

D. Add a key/value pair in the DataRaptor to test it.
Modifying the DataRaptor by adding new elements should not be the first troubleshooting step. The correct initial action is to diagnose the current configuration using the Preview tool. Making changes before understanding the problem can introduce new errors and is not a systematic debugging approach.

Reference
Salesforce OmniStudio Developer Guide: Test a DataRaptor
Question 2 Select all that apply
A developer creates an Integration Procedure with a Set Values and a DataRaptor Extract Action that requires AccountId as a key. When the developer previews the Integration Procedure, thedeveloper enters the AccountId correctly and execute the Preview. The developer sees the data extract by the DataRaptor in the Debug Log, but the response is empty. What is the likely cause of this issue?
Show answerHide answer

Correct answer: C A Response Action was not added to the integration Procedure.

Explanation

Summary
The issue is that while the DataRaptor runs successfully (as seen in the Debug Log), its extracted data is not being included in the final response of the Integration Procedure. An Integration Procedure's response is built by explicitly defining what data to return. Without a final step to package the data, the procedure will execute all actions but return an empty JSON object to the calling client.

Correct Option

C. A Response Action was not added to the Integration Procedure.
The Response Action is a dedicated element that must be the final step in an Integration Procedure. Its purpose is to define the structure of the JSON response. Even if previous actions like a DataRaptor Extract run correctly and store data in the pipeline, this data is not automatically sent back. Without a Response Action to map the pipeline data into the response, the output will always be empty.

Incorrect Option

A. The DataRaptor Action did not have the Add Response To Response JSON property set to true.
This property is used to merge a DataRaptor's output directly into the final response JSON, which can be useful in specific cases. However, it is not the primary or required method for returning data. A properly configured Response Action can return the data regardless of this setting on the individual DataRaptor action.

B. The Response cannot be previewed directly.
This is incorrect. The Preview tab for an Integration Procedure is specifically designed to show the final JSON response. If the Integration Procedure is configured correctly with a Response Action, the preview will display the returned data. The ability to preview the response is a core feature of the tool.

D. The AccountId used for the preview is invalid.
The scenario states that the developer "sees the data extracted by the DataRaptor in the Debug Log." This is definitive proof that the DataRaptor ran successfully and found data for the provided AccountId. If the ID were invalid, the DataRaptor would have returned an empty result or an error, which would be visible in the debug log.

Reference
Salesforce OmniStudio Developer Guide: Response Action
Question 3 Choose 1
A developer is troubleshooting an Integration Procedure with two elements: A Remote Action named FetchCart and a Response Action namedResponseCart.
In Preview, what JSON node shows the data sent to the Response Action?
Show answerHide answer

Correct answer: D ResponseCart

Explanation

Summary
When previewing an Integration Procedure, the output panel shows a detailed JSON structure representing the execution. Each element in the procedure has its own node containing its specific result. The Response Action is the final element that defines the procedure's output, and its results are displayed in a node named after the action itself, allowing developers to verify the exact data being returned.

Correct Option

D. ResponseCart
This is the correct node. In the Integration Procedure's preview debug output, each action has a dedicated JSON node named after the action's "Name" property. The ResponseCart node will contain the final, structured JSON output as defined by the mapping within that specific Response Action. This is the definitive data that the Integration Procedure would send back to the calling OmniScript or application.

Incorrect Option

A. FetchCart
The FetchCart node shows the input, output, and debug information for the Remote Action, not the Response Action. It displays the request sent to the external service and the raw response received from it, which is the data that will be fed into the pipeline for the Response Action to use.

B. Response
While "Response" is the type of the action, it is not the node name used in the debug output. The preview uses the custom name assigned to the action instance by the developer (in this case, ResponseCart), not its generic type. The node Response does not exist in this context.

C. ResponseCartDebug
This is a fabricated node name. The debug output does not append "Debug" to action names. The primary output and result of the Response Action named ResponseCart is contained directly within the ResponseCart node itself.

Reference
Salesforce OmniStudio Developer Guide: Test an Integration Procedure
Question 4 Choose 2
A developer configures a FlexCard with a Data Mapper data source that uses the params.id as an input. When the developer clicks "View Data" on the FlexCard, valid data displays. However, when the developer previews the layout, the FlexCard does not display.
What could cause this error? Choose 2 answers
Show answerHide answer

Correct answer: B, C There is no Salesforce record for the FlexCard based on the RecordId in the layout's Test Data Source Settings.The Data Node field for the FlexCard is empty.

Explanation

Explanation:

B. No Salesforce record for the RecordId in Test Data Source Settings
The Test Data Source Settings in a FlexCard layout determine which record is used during preview.

If the RecordId provided doesn’t exist in Salesforce (or points to a deleted/nonexistent record), the FlexCard will fail to display in preview.

This explains why “View Data” works (it uses the Data Mapper directly with params.id), but preview fails (it relies on the layout’s test settings).

C. Data Node field is empty
The Data Node defines the root of the JSON structure that the FlexCard binds to.

If the Data Node field is left empty, the FlexCard has no reference point to map the incoming data to its UI elements.

Result: Even though data is retrieved, nothing is displayed in the FlexCard preview.

❌ Why not A or D?

A. Wrong RecordId type → If the RecordId is of the wrong type, Salesforce would still return data (or an error). The key issue here is no record at all, not wrong type.

D. Attributes not configured → Attributes are used to pass data between parent and child FlexCards or OmniScripts. In this case, the FlexCard is directly bound to the Data Mapper, so missing attributes wouldn’t prevent display.

📚 Reference
Salesforce OmniStudio Docs: FlexCards Data Source Configuration

Key principle: FlexCard preview depends on valid Test Data Source settings and a properly defined Data Node.

👉 Memory tip for the exam:
If “View Data” works but preview fails → check Test Data Source settings and Data Node.
Question 5 Choose 2
Users receive an APEC CPU limit Exceeded error when running an OmniScript in a Salesfoce Community. The OmniScript includes an Integration Procedure that contains two DataRaptors. Which two Location should the developer check to troubleshoot the issue?
(Choose 2 answers)
Show answerHide answer

Correct answer: C, D DataRaptor configurationAction Debugger

Explanation

Summary
An Apex CPU limit error indicates that the OmniScript's server-side logic is consuming excessive processing time. Since the error is tied to an Integration Procedure containing DataRaptors, the investigation must focus on the components executing server-side Apex code. The configuration of the DataRaptors and the detailed execution logs of the actions are the primary sources to identify inefficient queries or complex transformations causing the performance bottleneck.

Correct Option

C. DataRaptor configuration
The DataRaptor configuration is a primary suspect. Inefficient DataRaptor Extracts, especially those without filters or that query large data sets, can consume significant CPU time. Similarly, complex DataRaptor Transforms with numerous formulas or loops can be computationally expensive. Reviewing the DataRaptor logic for optimizations, such as adding LIMIT clauses or simplifying transformations, is a critical troubleshooting step.

D. Action Debugger
The Action Debugger in the OmniScript and Integration Procedure preview tools provides detailed, step-by-step execution logs. It shows the precise execution time and output for each action, including the two DataRaptors. This allows the developer to pinpoint exactly which action is consuming the most CPU time, confirming whether it is a specific DataRaptor or another element in the sequence.

Incorrect Option

A. Script configuration
While general OmniScript settings exist, there is no specific "Script configuration" that directly controls CPU usage or would reveal the root cause of a CPU limit error. The problem is almost always tied to the logic within the actions (like DataRaptors) called by the script, not the high-level script properties themselves.

B. Community logs
Community logs are general system logs that might show the occurrence of the error but lack the granular, component-level detail needed to diagnose it. They will not show which specific DataRaptor or action within the Integration Procedure is causing the high CPU consumption. The OmniStudio-specific Action Debugger is the correct tool for this level of detail.

Reference
Salesforce OmniStudio Developer Guide: Test an Integration Procedure

That's the last free question in Troubleshooting and Debugging

You've seen the free 30% (5 of 19 questions). Full access unlocks every question and full-length OmniStudio-Developer mock exams (60 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the OmniStudio-Developer exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real OmniStudio-Developer exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full OmniStudio-Developer mock exam
  • 60questions per mock
  • 105 mintime limit
  • 173questions in the bank
  • Newmock on every attempt