Please enable JavaScript to view this site.

InterFormNG2 Manual

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:

 

NG2Joblog002

 

 

Additional log info keys

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. You can simply use the workflow component, Set multiple workflow variables to assign a value to either of them.

 

 

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 only a single parameter:

 

NG2WorkflowLogInfo0001

 

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.