Splf extractor: How to use it in the workflow.
The spooled file extractor can be used for extracting XML data from an input spooled file, and one important part is of course to also use this transformation in the workflow of InterFormNG2.
For that you need to use the workflow component, Splf to XML. This workflow component accepts a spooled file (.splf) as input and outputs an XML with the extracted data.
After the Splf to XML component you can then e.g. merge the XML file into print, PDF or email (with an attached PDF) or use any of the many advanced workflow components.
The input for the Splf to XML component must be a spooled file. The spooled file can however arrive in two ways:
- As a 'real' spooled file on the AS400/iSeries/IBM i platform via a monitored output queue.
You can do that, if you setup a workflow to monitor an output queue like in this example 
The first component looks like this:

The input type must be SPLF. If you select something else then the Splf to XML component cannot be inserted.
- An .splf file is processed e.g. via a monitored folder.
The workflow below monitors a folder:

(In this example the resulting XML is saved in a folder).
The important thing is to specify the right filter and file input type on the input component:

It is important, that the filter match the extension of the input file and you need to specify
SPLF as the input type in order to be able to select the Splf to XML component inside the workflow.
Related Articles
Splf extractor: Conditioned mappings
Both the line and block element can be conditioned in the spooled file extractor. To condition an element you should first select the area in the spooled file view and create a simple mapping. Now you need to enable triggers on the right in order to ...
Splf extractor: Simple mapping
The spooled file extractor selects data from all the pages of the spooled file. The output XML file is a file with a node for each spooled file page, so it is very each to see from which spooled file page the XML data was extracted. First you need of ...
Splf extractor: Tokens
In the spooled file extractor you can build conditions to conditionally select section of the spooled file. Whenever you add a condition you compare the selected text with a token. Predefined tokens InterFormNG2 is delivered with these predefined ...
Introduction to the Spooled file extractor
IMPORTANT: The spooled file extractor is no longer supported. Any spooled file extractor definitions, that has previously been designed can still be used in the workflow, but they cannot be edited. The better alternative is to use the designer for ...
SPLF to XML
With the spooled file extractor you can create transformations (with the extension .sfe), that can convert a spooled file into XML. These transformations can be linked directly in a template, so that the spooled file is converted directly into XML, ...