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: 1.Enrich spooled file from database workflow component inside your workflow. 2.You can also consider to use the ng:databaseLookup function ...
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 a part of spooled file processing in InterFormNG2 on the IBM i platform, you might want to delete, hold or move the input spooled file to let the end user know, 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: 1.Create PDF email 2.Create PDF file 3.Print Please notice, that the template used must be setup to use the same spooled file format ...
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 ...