Adding a parse action
A parse action controls the parsing of an input document. When the input document is a JSON string, the string is parsed instead of copied over.
About this task
With a parse action, the parse settings override the following settings.
- Parser limits in the XML manager tor input documents
- Maximum message size in the service configuration
You can retrieve parse settings by using the following methods in increasing order of precedence.
- An instance of a parse settings object. If not specified, the default parse settings are applied.
- A literal string as serialized XML or JSON properties as parse settings. These properties take
precedence over any existing default properties.
- The XML form of the string is as
follows.
<ParseSettings><property>value</property></ParseSettings> - The JSON form of the string is as
follows.
{ \"ParseSettings\" : { \"property\" : value } }
For more information, see the parse-settings-reference command.
- The XML form of the string is as
follows.
- A string that represents a named context or a URL that represents a named context from which to retrieve the serialized XML or JSON properties as parse settings. These properties take precedence over any existing literal or default properties.
When the selected format to save the metrics of parsing is JSON or XML, specify a URL or string that represents a named context to store the metrics of parsing.
Procedure
What to do next
If this action is the last one for the rule, click Apply policy. Otherwise, drag another icon to the configuration path.