Specify File Name and Directory Name Values at Runtime for Outbound FTP Transport Integrations

You can specify the file name and directory name values at runtime for outbound integrations using the FTP transport. If not specified in the integration payload at runtime, the values fall back to the transport property values specified during design time.

  1. In the navigation pane, click B2B, then Trading partners.
  2. Configure your trading partner, including selecting the FTP transport protocol for your outbound trading partner and specifying values for the output directory and output file name. For this example:
    • Output directory: /b2b/amit/outbound
    • Output file name: out-%SEQ%.edi


    The Properties, Contacts, B2B Identifiers, and Transports & agreements (which is selected), tabs are shown. The Transports table is shown with columns for Name, Direction/Type, Status, and Last updated. The Edit transport panel is open to shown tabs for Properties, Receive, Send (which is selected), and B2B integrations. The Send section shows the Output directory and Output file name fields. The B2B integrations section shows the Integration name prefix and Integration identifier prefix fields.

  3. Complete your integration design.
  4. In the navigation pane, click Design, then Integrations.
  5. Hover your cursor over the integration to run and select Actions Actions icon, then Run.
  6. In the Request section, click Body and specify values for filename and directory. For this example, amittest321 is specified for both properties.

    The Configure and run page shows the POST URL. Below this is the Request section, with tabs for URI parameters, Headers, Body (which is selected), cURL, and Integration properties. The Text radio button is selected. The other radio button is File. Below this is the payload body. The filename property has a value of amittest321 and the directory property has a value of amittest321.

  7. Click Run.
  8. Check the activity stream to verify that the run completed successfully.
  9. Open the outbound directory and note that the directory name and file name reflect the values specified at runtime.

    The directory structure shows a directory named amittest321 and a file name named amittest321.