Add an Invoke for FTP Write to File

Add another invoke to the integration for the File Transfer Protocol (FTP) connection.

To add the invoke:

  1. On the integration page, hover over an arrow and click Add Add icon.
  2. From the Available connections list, select SFTP Connection.
  3. In the Adapter Endpoint Configuration Wizard, do the following:
    1. On the Basic Info page:
      1. In the What do you want to call your endpoint? field, enter a name for the connection.

      2. In the What does this endpoint do? field, enter an optional description.
    2. On the Configure Operations page:
      1. In the Output Directory field, enter OICIntegrations.
      2. In the File Name Pattern field, enter ActivitiesInformation.json.
    3. On the Configure Schema page, from the Which one of the following choices would be used to describe the structure of the file contents? list, select Sample JSON document.
    4. On the File Contents - Definition page, upload a JSON file with the following JSON code:
      {
          "data": {
              "SM_ACTIVITY": [
                  {
                      "ACTIVITY_NAME": "Act1",
                      "ACTIVITY_CODE": "A1000",
                      "PROJ_ID": "124101",
                      "STATUS": "IN_PROGRESS"
                  },
                  {
                      "ACTIVITY_NAME": "Act2",
                      "ACTIVITY_CODE": "A1010",
                      "PROJ_ID": "124101",
                      "STATUS": "IN_PROGRESS"
                  }
              ],
              "pagination": [
                  {
                      "nextTableName": "-1",
                      "queryName": "Inprogress Activities",
                      "nextKey": "0",
                      "rowCount": "8",
                      "sinceDate": "20230720T142903.000Z"
                  }
              ],
              "safetyDate": [
                  {
                      "queryName": "Inprogress Activities",
                      "sinceDate": "20230720T142903.000Z"
                  }
              ],
              "tableList": [
                  {
                      "rowCount": "2",
                      "tableName": "SM_ACTIVITY"
                  }
              ]
          }
      }
    5. On the Summary page, view the summary and click Finish.
  4. Click Save.