Mapping the output to an activity - Validate JSON

Do the steps in this section to map the output to an activity for Validate JSON.

To map the output of the activity:
  1. Select the Map Outputs task in the Checklist. The output parameters for the activity are displayed in the From Activity pane as described in the following table:
    Table 1.
    Output Node Description
    success During run time, if the parsing was successful, the value of true is returned. If parsing was unsuccessful, the value of false is returned. If fatal errors occur during parsing, the value of false is returned. If recoverable errors occur during parsing, the value of false is returned. If only warnings occur during parsing, the value of true is returned. In addition, if no warnings or errors occur during parsing, the value of true is returned. Map from the success output parameter to a variable of type string. In XPATH expressions, compare the value of the string variable against the string values of true and false.
    errors/errorType The type of error/warning for the last error or warning that occurred during run time.
    errors/Message A repeating structure that contains a string that describes each error and warning that occurred during run time. All parsing warnings, fatal errors, and recoverable errors are returned.
  2. Map the desired output parameters to variable(s). See Creating a Standalone Mapfor general instructions on mapping. You are not required to map output parameters for this activity.



Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


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