Integrate Software AG Products Using Digital Event Services 10.4 | Integrate Software AG Products Using Digital Event Services | MashZone NextGen Help | Appendix | Legacy Presto components | Mashables and Mashups | Mashups in MashZone NextGen Wires | Creating Mashups in Wires | Add Actions or Other Blocks | Extract Partial Results
 
Extract Partial Results
Extract Block Video rectExtract Block Video
The Extract action extracts partial results, either as a single value or as a well-formed document. You can use partial results as input to another block or to a specific block property. You can:
*Extract a Value: from one, non-repeating field. The extracted result is that single value.
*Extract the Values for One Field in a Set of Repeating Items: the extracted result is a single value that combines the values of all occurrences for that field, in order, separated by commas.
*Extract a Structure or a Set of Repeating Items: for a single structure, the partial result is that node and all its descendants, as a well-formed document.
The partial result for a set of repeating items is those selected items wrapped in a new root node, creating a well-formed document. You can define the root node to use and select specific occurrences.
Pick a path to be extracted
Click in this field to pick the specific field, structure or set of repeating items you want to extract:
*If you select a field with data, the partial result is a single value. If the field you select is in a set of repeating items, the resulting value combines the values of all occurrences of that field, separated by commas.
*If you select a non-repeating structure, the result is that structure.
*If you select a repeating item or a structure within a set of repeating items, use the additional properties to define exactly what to extract.
Result Type
This optional property is only available if you have selected a field with data to extract, either as a single field or a field in a set of repeating items.
Use this property to indicate the type of data in this field, if the default type is incorrect. You can choose from:
*boolean for true/false data.
*datetime for dates, times or combinations in one of the valid date or time formats. See Date and Time Formats, Math and Sorting in Wires for more information.
*date is deprecated. Use datetime instead.
*decimal for decimal numeric data for mashables.
*integer for integer numeric data for mashables.
*number for numeric data of any type for mashups.
*string for text data.
Result Name
This optional property is only available if you have selected repeating items or a structure within repeating items to extract.
Use it to define the name of the root node to wrap the extracted results. The value must be a valid XML name, beginning with a letter and containing letters, numbers, period, underscore (_) or dashes (-). No spaces or other punctuation are allowed.
If you leave this property blank, the root node has a default name of result.
Extract
Use these options to define exactly which repeating items to extract. The default is All, but you can select a single item or a range of items.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release