Generate the Parsing phase for REST-based Data Stream actions
Automatically configure the splitter step, script parser step, and outputs for REST-based Data Stream actions. The Test REST step functionality in REST-based Data Stream actions executes a request to the configured REST endpoint, analyzes the response payload, and automatically sets up the parsing and output components.
Before you begin
Role required: action_designer or admin
About this task
When a REST step is added to the Request section of a Data Stream action, you can use the REST step's Test REST Step button to auto-generate the Parsing section and Outputs. The Parsing section includes
the splitter step and parser step. Auto-generating also puts complex object output in the Outputs section. To learn more about the parts of a Data Stream action, see Data Stream actions and pagination.
Note:
Auto-generating the Parsing phase only applies to REST steps within a Data Stream action. It doesn't apply to other types of steps, such as SOAP or JDBC steps. For REST steps outside
of a Data Stream action, the Run Test button tests the step.
To auto-generate the Parsing section requires the following.
- The response body must be valid JSON. You can't auto-generate if the response is not JSON, if the JSON is empty or invalid.
- The response body must not contain any errors. The response status code can't be 400-599.
- The object in the response body must contain an array of objects. A valid array of objects is required to parse the data and set the parsing and output components.
The following procedure starts in the REST step of a Data Stream action. For step-by-step instructions on creating a Data Stream action, see Create a Data Stream action.
Procedure
Result
The splitter step, parser step, and outputs are automatically generated. All three can be edited if needed.