In a report task, both the names of the subdirectories and the names of the output files are to be formed depending on certain info fields.
The information for the info fields comes from text signals:
-
"CoilNo_TS" from a text creator module
-
“CustomerCode” from a Qpanel input
Note |
|
|---|---|
|
If the contents of text signals are also to be available as info fields in the data file, the relevant text signals must be selected in the ibaPDA data store configuration, node Files – Info fields. Since an info field can only contain one value, the value of the text signal is written to the info field either at the beginning or at the end of the data file. |
|
The contents of the QP_Customer.CustomerCode info field should be used for the subdirectory name.
Two info fields from the data file should be used for the file names of the output files:
-
Customer code (QP_Customer.CustomerCode)
-
Coil number (Coil.No.CoilNo_TS)
In the final file name, the two pieces of information should be separated by an underscore.
Sample: CustomerCode_CoilNo.pdf
Configuration
Enter the following information in ibaDatCoordinator:
Example of subdirectories:
Example for output files:
ConcatText ( InfoFieldText ( 0, "QP_Customer.CustomerCode" ), "_", InfoField ( 0, "CoilNo.CoilNo_TS" ) )
Tip |
|
|---|---|
|
Use the expression builder in ibaAnalyzer to formulate a correct expression.
|
|
Result
Result in the file system after the job has been executed:
Subdirectories by customer ID in the target directory for reports
Report output files with file names from info fields




