When invoked in an OmniScript, a Calculation Procedure expects data in what format?

Prepare for the Salesforce OmniStudio Consultant Test. Utilize comprehensive flashcards and various question formats, each with detailed hints and explanations. Achieve exam readiness!

Multiple Choice

When invoked in an OmniScript, a Calculation Procedure expects data in what format?

Explanation:
Calculation Procedures in OmniScript operate on data formatted as JSON. The OmniScript runtime passes inputs as a JSON object with named fields that match the procedure’s variables, and the output is returned as a JSON object that maps to the OmniScript data model. This JSON-based flow is how data is bound between steps and integrated with other components. CSV, ASCII, and VML aren’t used for passing calculation data at runtime, so JSON is the appropriate format.

Calculation Procedures in OmniScript operate on data formatted as JSON. The OmniScript runtime passes inputs as a JSON object with named fields that match the procedure’s variables, and the output is returned as a JSON object that maps to the OmniScript data model. This JSON-based flow is how data is bound between steps and integrated with other components. CSV, ASCII, and VML aren’t used for passing calculation data at runtime, so JSON is the appropriate format.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy