Pre and Post Processing Scripts
Preprocessing and postprocessing scripts return a processing status message back to the activity. The activity writes the processing status message to the log (Info role, 300010 for preprocessing status message and 300011 for postprocessing status message).
Additionally, the preprocessing script informs the activity to skip processing the input file, by appending the string "Skip the input file" to the status message. And then the parser activity skips the input file and proceeds to process the next file.
To turn on this feature, the string %ScriptStatusFile% is specified as the last argument in the Pre Processing Arguments or Post Processing Arguments field.
At run time, the parser activity substitutes a valid temporary file name to this argument automatically. The script writes the status message, if any, into this file. The parser activity reads the temporary file, and logs the status message to the registered sinks.