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 log entry.
The value can be a fixed value, but normally customers are assigning the value via an XPath expression to set a dynamic value e.g. Invoice followed by the invoice number found in the input file.
The contents of log info key is shown in the job log overview in the File name or key column:
It is possible to add two additional keys which are not shown on the job log, but the contents of these are fully searchable. The additional keys are available as predefined variables in the workflow and are named: interform.log.info2 and interform.log.info3. These keys can be also be set on the log info key component.
The log info key component can only be used once for an input file (if you use it multiple times, then only one of the entries is actually added). If you want to create multiple log entries (e.g. one for each splitted sub file), then you should consider the New log line workflow component instead.
The Log info key workflow component has these parameters:
Log info key
Here you can either type a fixed value or click the T-icon on the left and setup an XPath expression to set a dynamic value based on the input file.
The value can be set via an Xpath expression e.g. be a combination of a fixed text and a document number. This expression:
concat('Invoice_',/Root/InvoiceNumber) could e.g. combine the fixed text 'Invoice_' with a dynamic value (the invoice number) found in the node /Root/InvoiceNumber in the input xml file to e.g. build up the value: Invoice_1234.
Log info key 2
This is similar to log info key - except that the value of log info key 2 is not shown in the job log list, but still the value set for this key is searchable.
Log info key 3
This is similar to log info key - except that the value of log info key 3 is not shown in the job log list, but still the value set for this key is searchable.