This advanced utilities workflow component retrieves a job log and copies it into the payload (and overwrites the previous contents) of the current workflow in XML format.
As default the component retrieves the job log of the current workflow. Alternatively you refer to a unique value of the Log info key meta data key to retrieve the log of another workflow.
The Log to XML workflow component has this single parameter:
Log-line name
If the log-line name is blank, then the XML payload file will be assigned to the log of the current workflow. If it is filled out, the a match is found where the value stated here is compared to the Log info key setup in other workflows.
Example of usage
The Log to XML component can e.g. be used together with the Debug headers component if you want to see information from the job log directly in the current workflow. This is done in this example.
Related Articles
Release log
This is the list of the InterFormNG2 releases and the major new features in each release: Version 3.5.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 ...
Log info key component
The job logs of InterFormNG2 includes all requests, but it can be a bit difficult to identify a specific document, so to make that possible you can assign a value to the Log info meta data key. This makes is much easier to search for a specific job ...
New log line component
The job logs of InterFormNG2 includes all requests, but it can be a bit difficult to identify a specific document, so to make that possible you can assign a value to the Log info meta data key. This makes is much easier to search for a specific job ...
Rule-based XML validation
This advanced validation workflow component, Rule-based XML validation, can validate XML according to rules. The rules for rule-based validation can be used to validate documents in XML format. A suggestion for implementation can be found here. The ...
XML
XML is used widely in InterFormNG2 as both input and output payload in the workflow (and of course in the designer). Please notice, that some workflow components are listed as accepting only XML as input, where they actually also accept an IBM i ...