AMF (Agile Messaing Framework)
  • Agile Messaging Framework
    • Get Started
      • Install
        • Pre-requisites
        • CockroachDB
        • NATS for Queuing
        • Hashicorp Vault
          • Configure Vault
        • Python 3.9
        • AMF Bundle
        • Installation of AMF
          • Configure and install
          • Post Install Steps
        • IBM SFG Integration
          • Configure and Install
            • Install jars in SFG
            • Add amf.properties
            • Add CRDB pool details
            • Import Sterling Artifacts
          • Post Install Steps
            • Create user with API permissions
            • Changes in BPs
    • Concepts
      • Providers
      • Users
      • Message Type
      • Message Mapping
      • Workflow
      • Communication profiles
        • SFTP Profiles
          • Customer Initiated
          • MFT Initiated
            • MFT Initiated Send
            • MFT Initiated Receive
        • Connect Direct
          • Customer Initiated
          • MFT Initiated
        • SharePoint
          • MFT Initiated
            • MFT Initiated Send
            • MFT Initiated Receive
        • S3
          • MFT Initiated
            • MFT Initiated Send
            • MFT Initiated Receive
        • Azure ADLS
          • MFT Initiated
            • MFT Initiated Send
        • HTTP with Token
          • MFT Initiated
            • MFT Initiated Send
        • UFA
          • Customer Initiated
            • Customer Initiated Send
            • Customer Initiated Receive
      • Communication Rules
        • Immediate
        • Scheduled
    • Management
      • AMF UI Operations
      • AMF Services Operations
    • User Manual
      • Signup and Login
      • Dashboard
      • Track N Trace
        • Message Activity
        • Failed Message Activity
        • Onboarding Activity
        • Session Activity
        • Service Availability
        • Scheduler Activity
        • Delivery Queue
        • Audit Log
      • Onboarding
        • Customers
        • Users
          • Communication Profiles
        • Message Types
        • Message Mapping
        • Workflow
          • Definitions
          • Actions
          • Rules
        • Communication Rules
    • Troubleshooting
    • Tutorials
      • UFA Installations
        • Linux Installation
        • Windows Installation
      • Schedules
        • Run based on timer
        • Run daily
        • Run based on day(s) of the week
        • Run based on day(s) of the month
      • UseCases
        • UC01
        • UC02
        • UC03
        • UC04
        • UC05
        • UC06
        • UC07
        • UC08
        • UC09
        • UC10
        • UC11
        • UC12
        • UC13
        • UC14
        • UC15
        • UC16
        • UC17
        • UC18
        • UC19
        • UC20
        • UC21
        • UC22
        • UC23
        • UC24
        • UC25
        • UC26
Powered by GitBook
On this page
  1. Agile Messaging Framework
  2. Tutorials
  3. UseCases

UC05

PreviousUC04NextUC06

Last updated 3 months ago

SFTP --> SFG --> AMF --> SFG --> SFTP

Use Case: Partner09 (Sender) send files to SFG via SFTP protocol, we Zip and deliver those files to Partner10 (Receiver) using SFTP protocol from SFG via AMF (Agile Messaging Framework).

Sequence Diagram:

Steps:

A. Onboard Partner09 and Partner10 in SFG using AMF.

B. Onboard Partner09 SFTP profile in SFG using AMF (Customer Initiated Communication Profile (Inbound)).

C. Create Message Types or use the existing one in AMF.

D. Create Message Mapping with Sender, Receiver and Message Type with a file pattern.

E. Create a Zip Action as Action Type.

F. Create Delivery Action or use the predefined one (Deliver as is).

G. Create Workflow Definition and add Actions (Created in step E and step F) as step1.and step2.

H. Create Workflow Rule with Sender, Receiver, Message Type and Workflow definition name (Created in step G).

I. Onboard Partner10 SFTP profile in SFG Using (MFT Initiated Communication profile) (outbound)).

J. Create Communication Rule with Sender, Receiver, Message Type and Comm. profile Name.

K. Verify the Message Activity in AMF once Partner09 uploads the file to SFG via SFTP protocol, if everything was configured correctly, the file will be delivered to Partner10 via SFTP protocol.

Process:

A. Onboard Partner09 and Partner10 in SFG via AMF:

Login to AMF

Go to Onboarding -> Users

Click on + icon at the top right corner.

Select Customer and give details of Partner09, select User Type, Authentication Type and click next.

  1. User Type: Which Zone does the Partner belongs to send or receive files? (DMZ or Trusted)

  2. Authentication Type: Where do we store the Partner credentials? (LDAP or local (SFG/AMF) or Both)

Select the provider the Partner belongs to and click next

  1. AMF: AMF provider is used to onboard Partners which use UFA

  2. IBM: This will come from the provider's config. We can choose several types based on the provider's config.

  3. Open LDAP: We need to select this if we selected the Authentication Type as LDAP in step2

Verify the Partner details and click Onboard User.

B. Onboard Partner09 SFTP profile in SFG using AMF (Customer Initiated Communication profile (Inbound)).

Double click on the Partner09

Click on + icon in the top right corner.

Give details of the Profile and click save.

Once the onboarding is done, we can see the status as completed.

C. Create Message Types or Use the existing one in AMF:

Go to Message Types under Onboarding

Click on + icon in the right corner to add a new Message Type

In this scenario we will use the Message Type SFTP_UC05_SFTP and click Save.

D. Create Message Mapping with Sender, Receiver and Message Type with a file pattern

Go to Message Mapping under Onboarding

Click on +icon at the top right corner

Select Sender, Receiver and Message Type give pattern of the files that Partner09 will send and click save.

E. Create a Zip Action as Action Type.

Go to Actions under Onboarding->Workflow.

Click on + icon to create new action.

Create a Zip Action as Action Type and click save

F . Create Delivery Action Deliver as is

Go to Actions under Onboarding->Workflow

Click on + icon to create new action.

Create a Deliver As is Action as Action Type.

G. Create Workflow Definition and add Actions (Created in step E and step F).

Go to Definitions under Onboarding->Workflow.

Click on + icon at the top right corner.

Give Workflow Name, Description and click save.

Double click on the Workflow Definition Name

Click on the + icon at the top right corner.

Select the action that we created in Step E as step1 and click save.

Select the action that we created in Step F as step2 and click save.

H. Create Workflow Rule with Sender, Receiver, Message Type and Workflow Definition Name (Created in step G).

Go to Rules under Onboarding -> Workflow.

Click on + icon at the top right

Give Sender, Receiver, Message Type and Workflow (Created in step G) and click on save.

I. Onboard Partner10 SFTP profile in SFG Using (MFT Initiated Communication Profile (outbound)).

Double click on Partner10 in Onboarding-> users

Click on + icon at the top right.

Select MFT initiated Send and give the details (SFTP Protocol)

  1. Remote Host: Remote Host/IP of Partner10 SFTP server

  2. Remote Port: Port of Partner10 SFTP server

  3. Remote User ID: Remote User ID of Partner10 SFTP server

  4. Auth Type: Auth type supported by Remote SFTP server (password or key)

  5. Use Source File Name: Option to use source filename.

  6. Remote File Name: Remote file name if you disabled the Use Source File Name in step 3-v

  7. Remote Path: Path for the file to be placed.

  8. Use Temp File Name in Copy: Option to use temp file name in copy.

  9. Remote KHK (Known Host Key): Known host key of Remote SFTP server.

  10. Send Email Notifications: Option to send email notifications for successful delivery.

  11. Receiver’s Mail Ids: Recipient’s mail addresses if we enable Send Email Notifications.

  12. Clean up on delivery: Option to clean the file in file system after the file was delivered (Once the file is cleaned, we cannot redeliver the file again).

J. Create Communication Rule with Sender, Receiver, Message Type and Comm Profile Name

Go to rules under onboarding->Communication.

Click on + icon at top right corner

Select Sender, Receiver ,Message Type and Comm Profile name and click on save.

K. Verify the Message activity in AMF once Partner09 uploads the file to SFG via SFTP protocol and if everything was configured correctly, the file will be delivered to Partner10 via SFTP protocol.

Go to Message activity under Track N Trace

To see more details of the delivery double. click on the record.

Here we can see the details for the file delivered to Partner10.