OMNISTUDIO-DEVELOPER practice question 13 of 15
A developer is configuring an integration Procedure Action in an OmniScript. The Omniscript needs a JSON response from the Integration Procedure but does not need to wait for the response for the user to proceed. Which feature should the developer enable?
Full set: 86 questionsThe Non-Blocking invoke mode is the correct feature to enable. This setting makes the call to the Integration Procedure asynchronous, allowing the user to continue interacting with the OmniScript without waiting for the procedure to finish. Crucially, unlike the "Fire and Forget" mode, the "Non-Blocking" mode ensures that the JSON response from the Integration Procedure is returned to the OmniScript's data model once the background process completes. This fulfills both requirements of the scenario: the user does not have to wait, and the OmniScript receives the necessary data.
A. Toast Completion: This is a user interface setting that displays a notification message upon completion of an action. It does not control the synchronous or asynchronous nature of the call.
B. Use Future: This is a setting within an Integration Procedure for specific actions (like DataRaptors or Apex calls) to run them asynchronously within the procedure itself, not for the invocation of the entire procedure from an OmniScript.
C. Invoke Mode Fire and Forget: This mode also makes the call asynchronous, but it does not return any response data to the calling OmniScript, which contradicts the requirement that the OmniScript needs the JSON response.
1. Salesforce Help, OmniStudio Documentation, "Integration Procedure Action": Under the "Properties" section for the Integration Procedure Action element, the documentation describes the Invoke Mode property. It specifies:
Non-blocking: "The user can continue to the next step before the action is complete. The response is returned to the data JSON when the action completes."
Fire and Forget: "The action runs in the background, and no response is returned."
This directly supports the choice of Non-blocking to get a response asynchronously.
2. Salesforce Help, OmniStudio Documentation, "Asynchronous Call-outs in OmniScripts": This document explains the different methods for making asynchronous calls. It clarifies, "To run an Integration Procedure asynchronously and return data to the OmniScript, use an Integration Procedure Action with the Non-blocking invoke mode." This explicitly confirms that Non-blocking is the correct choice for an asynchronous call that requires a response.
Keep practicing
Take the free OMNISTUDIO-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other OMNISTUDIO-DEVELOPER practice questions
- Question 3A developer creates an OmniScript to update billing information.After analyzing the diffe…
- Question 4A developer needs to limit the of a DataRaptorExtract to a maximum of one result. How sho…
- Question 5A developer examines data received from an external data source. The data is nested two l…
- Question 6A company wants to allow agents to send customers a quote for signature. The quote is a d…
- Question 7A developer needs to change some field labels on a FlexCard. The FlexCard is currently de…
- Question 8In an Integration Procedure, a developer needs to perform a multi-step calculation on eve…
