Workflow examples
Extract payload from sub-node in input XML
In this example we want to extract an XML file, that is stored as a sub-node in an input XML file. This could e.g. be an XML file stored inside of a SOAP input file. This input file could have contents similar to this: <SOAP-ENV:Envelope ...
Call external HTTP(s) rest apis
In InterFormNG2 it is possible to call (most) external HTTP REST APIs / Webservices and form submits using workflow components. The calls are based on RFC2616 Hypertext Transfer Protocol HTTP/1.1 https://www.ietf.org/rfc/rfc2616.txt The external HTTP ...
Generic workflow
One of the unique features of the InterFormNG2 workflows is the ability to setup very dynamic and generic workflows. There are multiple advantages with a generic workflow: It is much smaller compared to a setup, that e.g. contains a whole subtree for ...
Repair an XML with invalid characters in a node
Some characters cannot be used inside the value of a node or attribute within an XML file. The characters are: Original character Escaped character " " ' ' < < > > & & The table above indicates, that you should use the sequence ...
Include an image from an attachment in an AS400 command
There are several ways to use a dynamic image in a template, but if you use an AS400 command, then you can also include an image as an attachment in the command, IFORMNG2/NG2CMD. Here is an example of how that can be done: On the command you can ...
Workflow: How to move files into an error folder
When InterFormNG2 is processing files from a folder, then it will process the input files like so: The files are moved into the processing folder, when InterFormNG2 starts to process the files, and they are moved into the processed folder, when they ...
Workflow: Create PDF and insert it as base64
In the section below you can see how you can setup the workflow in InterFormNG2 to create a PDF file and insert it into the input XML file encoded in base64. The complete workflow looks like below: First part: Second part: Each of the component are ...
Workflow examples
Below you see a list of examples of how to setup a workflow to achieve a specific task: How to move files with processing errors into an error folder. How to create a PDF file and insert it into the input XML file encoded in base64. Examples of how ...
Workflow for old NG templates
Workflow for old NG templates : Please note - current versions of InterFormNG2 (3.x.x) do not support InterFormNG1 Templates anymore. If you are converting your installation from InterFormNG into InterFormNG2, then you should notice, that the ...
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 ...