Splf extractor: How to use it in the workflow

Splf extractor: How to use it in the workflow

Warning

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 transformation.

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:


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

  3. 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:
     
Alert
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

      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 extractor: Tokens

      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 extractor: Simple mapping

      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 extractor: Expanable parent

      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 extractor: Overlapping mappings

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