Log to XML

Log to XML

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:


  1. 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.
The XML structure of the log looks like below:

    NG2WorkflowLogToXML002

 

If you want to present the contents in a template, then you can consider a template similar to this:

 

This creates an output similar to this:

NG2WorkflowLogToXML004

 

This reflects the elements of this workflow:

 

The Error component triggers a call to an On Error workflow, which executes the Log To XML component and generates a PDF like above:

 

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 Version 3.x.x

      This is the list of the InterFormNG2 releases versions 3.x.x and the major new features in each release: Version 3.5.1 Version 3.5.0 Version 3.4.3 Version 3.4.2 Version 3.4.1 Version 3.4.0 Version 3.3.2 Version 3.3.1 Version 3.3.0 Version 3.2.0 ...
    • Release log Version 1.x.x

      This is the list of the InterFormNG2 releases versions 1.x.x and the major new features in each release: Version 1.9.0 Version 1.8.0 Version 1.7.1 Version 1.7.0 Version 1.6.0 Version 1.5.4 Version 1.5.3 Version 1.5.2 Version 1.5.1 Version 1.5.0 ...
    • Release log Version 2.x.x

      This is the list of the InterFormNG2 releases versions 2.x.x and the major new features in each release: Version 2.4.2 Version 2.4.1 Version 2.4.0 Version 2.3.0 Version 2.2.0 Version 2.1.2 Version 2.1.1 Version 2.1.0 Version 2.0.3 Version 2.0.2 ...
    • Release log

      This is the list of the InterFormNG2 releases and the major new features in each release: 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 of these ...
    • 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 it much easier to search for a specific job ...