Splf extractor: How to use it in the workflow.

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 printPDF 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:

 

1.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:

 

NG2SplfExtractorOutq0001

 

The first component looks like this:

 

NG2SplfExtractorOutq0002

 

The input type must be SPLF. If you select something else then the Splf to XML component cannot be inserted.

 

 

 

2.An .splf file is processed e.g. via a monitored folder.

The workflow below monitors a folder:

 

NG2SplfExtractorFldr0001

 

(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:

 

NG2SplfExtractorFldr0002

 

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.

    Notice: Help Center Transition Update

    As of January 13, 2025, we are excited to announce that our new Help Center is in the final stages of development. While the Knowledge Base is already accessible, our current JIRA system will continue to manage support tickets during this transition period. For assistance with InterForm Output Management Software, please refer to the Support for InterForm Output Management Software.

    We appreciate your patience and understanding as we work to enhance your support experience. If you have any questions or encounter any issues, please do not hesitate to reach out via the existing support channels.

    Best regards,
    The InterForm Support Team


      • 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, ...