Post-Processing Command
The external report copy is independent of the post processing, but if in reaction to the completed and copied report, you want to execute a script or some other program, you can populate the Post-Processing Command field. In this field, you can specify the command that FlexNet Manager for Engineering Applications should execute after the report has been generated. This command typically includes the path of an executable (which can be a script processor) together with some input to properly process the report.
In many cases, the post-processing script needs additional input parameters to efficiently process the report. This input can include the location of the output directory, the list of files produced for the report, the type of report produced, and so on.
FlexNet Manager for Engineering Applications provides a number of command-line parameters that you can use for post processing. These input parameters are added to the script with a dollar sign ($) prepended to the keyword and at run time replaced by the real values. For example, the expression—
/usr/bin/perl /opt/scripts/postproc.pl $outputDir $outputFiles
—will be emitted as the command line—
/usr/bin/perl /opt/scripts/postproc.pl /opt/reportOut MonthlyRaw.rif
—if the output directory is set to “/opt/reportOut” and the report is a raw report named “MonthlyRaw.”