Spooled files in the workflow
Handling large spooled files in parallel
The processing of spooled files on an output queue is single threaded, so if you are processing larger spooled files (that takes longer to process and print), then smaller spooled files on the same output queue might wait for the processing of a ...
Use translation file to link users with an output queue
In this section we will look at how we can use a translation file to dynamically select the output queue and output queue library and use that to move a spooled file and to use this for the target printer for a merge with a template. This section is ...
Use a database to move a spooled file or set output printer
In this section there are some examples how you use a database in order to find the output queue and output queue library via a database lookup and use that information to either move the input spooled file and/or use this information to select the ...
Transform a spooled file into XML
InterFormNG2 can help you to transform a spooled file into XML. In order to do that you first need to load the spooled file in the library in the version 2 format. Next you need to setup a transformation of the spooled file in the designer. This will ...
Add data to spooled files via SQL
If you want to add data from a database into a spooled file via SQL, then you should consider these options: Enrich spooled file from database workflow component inside your workflow. You can also consider to use the ng:databaseLookup function for a ...
Spooled file split
You might want to split up spooled files during InterFormNG2 processing. The reason might be, that the input spooled file may contain multiple documents (e.g. invoices), and that you want to create one PDF file (or email) for each invoice. There are ...
Spooled file actions
As part of spooled file processing in InterFormNG2 on the IBM i platform, you may need to delete, hold, or move the input spooled file to notify the end user that the specific spooled file has been successfully processed. You can also change a ...
Change spooled file attributes
As a part of the processing of an input spooled file in the workflow, you might want to change one or more spooled file attributes e.g. to inform the end users, that the input spooled file has been processed successfully in InterFormNG2. To change ...
Merge spooled file with a template
To merge a spooled file with a template you simply use the normal workflow components e.g. one of these components: Create PDF email Create PDF file Print Please notice, that the template used must be setup to use the same spooled file format as you ...
Condition workflow on spooled file contents
In the workflow of InterFormNG2 you can use conditions, that looks into the contents of the input spooled file, when you setup a conditioned workflow. One example of how to do that is included in this video:
Condition workflow on spooled file attributes
When you build a workflow tree structure to handle all the different types of spooled files, then you normally need to look at the spooled file attributes (e.g. spooled file name) apart from the spooled file contents to identify the spooled file type ...
Load a sample spooled file in the workflow
It is recommended to load a sample spooled file, if you want to edit a workflow, that monitors an IBM i output queue. This is explained below and also covered in this video: To load a sample spooled file you first need to load the spooled file in the ...
How to monitor an output queue
If you want to monitor an output queue in InterFormNG2, then you need to add a new workflow and select the input type From IBM i output queue or From IBM i output queue (multiple) if you want to monitor spooled files from multiple output queues in a ...
Spooled files in the workflow
This section covers all topics concerning automatic processing of spooled files in the InterFormNG2 workflow: How to monitor an output queue. Load a sample spooled file in the workflow editor How to condition the workflow on spooled file attributes ...
Popular Articles
REST webservice basic example
Below a simple setup is done to illustrate how the REST webservice basic can be setup. The example below can be run without any programming at all. First a simple template to prove, that the workflow has worked and returned a PDF: The template is ...
XPath
In InterFormNG2, you use the language XPath for referencing data from the XML file. There are many sources of information if you want to learn more about XPath, but you can also simply read the few examples below to get a good idea of how it can be ...
Release log
This is the list of the InterFormNG2 releases and the major new features in each release: Version 4.0.0 Important: InterFormNG2 now runs on Java 17. So you need to install Java 17 on Linux and the IBM i platform, if you want to InterFormNG2 on either ...
Aligment options for fixed positioned elements
There are several ways to align fixed positioned elements in the designer: (This lists alignment options for fixed positioned elements only. All alignment options are covered here.) 1.You can enable a grid, resize the lines of the grid and the fixed ...
Text element
If you want to insert any kind of text in InterFormNG2, then you should use the text element. You can insert a new text element if you click on this icon: The data, that you can output as text are these types: 1.A text constant. 2.Drag nodes from an ...