Configuring a Validate JSON activity

Perform the steps in this section to configure a Validate JSON activity.

Procedure

  1. Click Configure from the Checklist. The Configure window is displayed.
  2. In the XML Schema field, click Browse. The Browse For Schema Type Element dialog box displays. Select the XML schema to parse against during run time. You must select a root or global element and not a schema fragment. The selected XML schema defines the nodes that make up the InputJSON input parameter in the Map Inputs task.
  3. Select or clear the Continue Parsing JSON Data after First Recoverable Error check box. (This check box defines the run-time behavior when a recoverable error occurs).

Results

If the Continue Parsing JSON Data after First Recoverable Error check box is selected and only recoverable errors and warnings occur but no fatal errors, processing of the Validate JSON activity completes after the first recoverable error and the value false is returned from the success output parameter. Only the first error is returned in the errors output parameter. The activities in the orchestration after the Validate JSON activity are processed.

If the Continue Parsing JSON Data after First Recoverable Error check box is cleared and only recoverable errors and warnings occur but no fatal errors, the processing of the Validate JSON activity processes all the recoverable errors and the value false is returned from the success output parameter. Messages about all the recoverable errors are returned in the repeating Message node of the errors output parameter. The activities in the orchestration after the Validate JSON activity are processed.




Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/Configure_Validate_json_Activity.html