An Integration Procedure uses an HTTP action to make a REST API call. The response from the REST API must be converted into a specific XML structure before sending it as an input to another external web service.
How should the developer configure the Integration Procedure to meet this requirement?
OmniStudio does not natively support direct JSON-to-XML transformation using DataRaptors. When a transformation to specific XML formats is needed for integration with external web services, it is recommended to use Remote Actions that invoke custom Apex classes.
A . Use a Remote Action that calls the XMLStreamWriter class -- Correct. The XMLStreamWriter Apex class provides precise control over XML structure and is the Salesforce-recommended way to programmatically generate XML from data within a Remote Action step in an Integration Procedure.
Incorrect Options:
B . The XML checkbox in DataRaptor does not convert JSON to XML; it defines output data format for display or API serialization.
C . XMLStreamReader is used for parsing XML, not for generating it.
D . DataRaptor Transforms only manipulate JSON structure; they do not support converting JSON into XML format.
:
Salesforce Developer Guide Apex XMLStreamWriter Class
OmniStudio Integration Procedures Using Remote Actions with Custom Apex
Gabriele
3 days agoJesusa
8 days agoPaz
13 days agoGabriele
18 days agoJesusa
24 days agoPaz
29 days agoBenedict
1 month agoErinn
1 month agoJeannetta
1 month agoLouann
2 months agoJenifer
2 months agoMarta
2 months agoRene
2 months agoPortia
2 months agoGabriele
3 months agoRuthann
3 months agoCarmela
3 months agoAshleigh
3 months agoWei
3 months agoAmber
4 months agoMozelle
4 months agoMinna
4 months agoJoaquin
4 months agoCarmen
4 months agoBlair
5 months agoDahlia
5 months ago