Configuring programs for event-driven sending

  1. Select COMMUNICATION > Event programs.
  2. Click the Event programs for sending tab. On this tab, you can configure custom programs or scripts to be performed at a preset time.
  3. Specify this information:
    Execution start
    This program is periodically executed every 15 seconds.
    Before sending
    This program is executed before the file is sent.
    After sending
    This program is executed after the file has been sent.
    Sending OK (EFPA)
    This program will be executed after the file has been sent successfully.
    Sending 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.
    Sending Failure
    This program will be executed after the failed send attempt of a file.
    Maximal retries
    This program will be executed after the maximum number of sending 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.
  4. 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.
  5. Click Save.
    Note:  Use the same settings for the event-driven programs for retrieving data. This is normally required because send files might, for example, when using OFTP data exchange, also be retrieved by your communication partner if the connection is active.