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:
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:
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.