What is the correct syntax to refer in the Data JSON to an Account Type field retrieved from a standard Salesforce Account object?

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

What is the correct syntax to refer in the Data JSON to an Account Type field retrieved from a standard Salesforce Account object?

Explanation:
In Data JSON, values pulled from Salesforce records are referenced using tokens wrapped in percent signs. The token %Account.Type% tells the system to substitute the actual value of the Type field from the retrieved Account record at runtime. This format specifically marks a field reference for runtime resolution. Other formats (like using a colon, a plain dot, or braces) aren’t recognized as field references by the Data JSON engine, so they would be treated as literal text instead of pulling the field value.

In Data JSON, values pulled from Salesforce records are referenced using tokens wrapped in percent signs. The token %Account.Type% tells the system to substitute the actual value of the Type field from the retrieved Account record at runtime. This format specifically marks a field reference for runtime resolution. Other formats (like using a colon, a plain dot, or braces) aren’t recognized as field references by the Data JSON engine, so they would be treated as literal text instead of pulling the field value.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy