In OmniScript, which variable contains the JSON data for the script?

Prepare thoroughly for the Salesforce OmniStudio Consultant 2 Test. Utilize flashcards and multiple choice questions with explanations for better understanding. Boost your confidence for the exam!

Multiple Choice

In OmniScript, which variable contains the JSON data for the script?

Explanation:
OmniScript uses a central JSON data model that flows through every step. The variable that contains that JSON data is Data. It acts as the root object you read from and write to as the user interacts with the script, and all step bindings pull from and update fields inside Data. Payload, on the other hand, is used for the body of API requests, not the script’s internal data. ContextId is just a runtime identifier, and Script holds the script’s metadata or structure. So the JSON data for the script lives in the Data variable.

OmniScript uses a central JSON data model that flows through every step. The variable that contains that JSON data is Data. It acts as the root object you read from and write to as the user interacts with the script, and all step bindings pull from and update fields inside Data. Payload, on the other hand, is used for the body of API requests, not the script’s internal data. ContextId is just a runtime identifier, and Script holds the script’s metadata or structure. So the JSON data for the script lives in the Data variable.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy