Configuring programs for event-driven receiving
- Select COMMUNICATION > Event programs.
-
Click the Event
Programs for Passive Receipt tab.
On this tab, you can configure custom programs or scripts to be performed at a preset time.
-
Specify this information:
- Before fetching
- This program is executed before the file is retrieved.
- After fetching
- This program is executed after the file has been retrieved.
- Retrieval OK (EFPA)
- This program is run after the file has been retrieved successfully.
- Retrieval Fully Completed (with a confirmation when configured)
- This program is executed after the receipt of the partner's reception confirmation, in the case of OFTP upon receipt of the EERP.
- Retrieval Failure
- This program is executed after a failed attempt to retrieve the file.
- Maximal retries
- This program is executed after the maximum number of transmission attempts has been reached.
- Parameter error
- This program is executed in case of an invalid send job, for example, if no send system is available.
- Optionally, click Copy Event Program Values for Sending to copy all the values from the Event programs for sending tab.
-
You can use these predefined system parameters when executing
event-driven programs:
Note: Note: If the parameter string contains spaces, the string is transferred by the system enclosed in "".
Parameter Description $P01 Partner name $P02 Unit $P03 Destination $P04 Own file name (including path on the server) $P05 Virtual OFTP file name $P06 Identification $P07 DSN outbound (if used when creating) $COLUMNNAME Column name from the xtq_db
table, for example$FILEPATH
= client path/file name on the client. - Click Save.