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

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:

To copy the code to the clipboard click on the icon ->

ConcatText ( InfoFieldText ( 0, "QP_Customer.CustomerCode" ), "_", InfoField ( 0, "CoilNo.CoilNo_TS" ) )

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