Salesforce Certified OmniStudio Developer — Question 28
A developer creates a DataRaptor Extract to retrieve data to pass to an external service. The external service expects the field value to be an integer. However, the DataRaptor is sending it as a string.
Which action can the developer take to fix this?
Answer options
- A. In the DataRaptor Extract tab, set the Input Data Type field to Integer.
- B. In the DataRaptor Formula tab, define a formula using the function TOINTEGER and use the formula as output.
- C. In the DataRaptor Output tab, enter the default value as 0 on the field.
- D. In the DataRaptor Output tab, select the Output Data Type of that field to Integer.
Correct answer: D
Explanation
The correct answer is D because selecting the Output Data Type as Integer ensures that the DataRaptor sends the data in the required format for the external service. Option A is incorrect since it addresses the Input Data Type, which does not affect the output. Option B suggests using a formula, but it is unnecessary when the Output Data Type can be set directly. Option C only sets a default value but does not change the data type from string to integer.