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

UC14

PreviousUC13NextUC15

Last updated 3 months ago

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

Use Case: Partner27 (Sender) sends files to SFG via HTTP protocol (MFG) we do EOL conversion and deliver those files to the Partner28 (Receiver) via SFTP protocol from SFG using AMF (Agile Messaging Framework).

Sequence Diagram:

Steps:

A. Onboard Partner27 and Partner28 in SFG using AMF.

B. Create Message Type or use the existing one in AMF:

C. Create Message mapping with Sender, Receiver and Message Type with a file pattern.

D. Create EOL Conversion Action as Action type.

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

F. Create Workflow definition and add Actions (Created in step d and step e) as step1 and step2.

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

H. Onboard Partner28 SFTP profile in SFG using AMF (MFT Initiated communication profiles (outbound)).

I. Create communication rule with Sender, Receiver, Message Type and Comm profile Name.

J. Verify the Message activity in AMF once the Partner27 uploads the file to SFG via HTTP protocol (MFG). If everything was configured correctly, the file will be delivered to Partner28 via SFTP protocol.

Process:

A. Onboard Partner27 and Partner28 in SFG via AMF:

Login to AMF

Go to On boarding -> Users

Click on + icon at the top right corner

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

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

  2. Authentication Type: Where 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. OpenLdap: We need to select this if we selected the Authentication Type as LDAP in the step 4-ii.

Verify the Partner details and click Onboard User.

Repeat the same steps for Partner28.

B. Create Message Type or use the existing one in AMF:

Go to Message Types under On boarding

Click on + icon in the right corner to add a new message type

Note: In this scenario we will use the existing message type (GENERIC)

C. Create Message mapping with Sender, Receiver and Message Type with a file pattern:

Go to Message mapping under On boarding

Click on +icon at the top right corner

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

D. Create EOL Conversion Action as Action type.

Go to Actions under On boarding-> Workflow

Click on + icon to create new action

Give Name, select EOL conversion as action type and clicks save.

E. Create Deliver as Action type or use the predefined one (Deliver as is)

Go to Actions under On boarding-> Workflow

Click on + icon to create new action

Give Name and select Deliver as action type and clicks save.

F. Create Workflow definition and add Actions (Created in step d and step e) as step1 and step2.

Go to Definitions under On boarding->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 EOL conversion action that we created in step g as step1 and click save.

Select the Deliver action that we created in step h as step2 and click save.

G. Create Workflow rule with Sender, Receiver, Message Type and Workflow definition Name (Created in step g).

Go to Rules under On boarding -> Workflow

Click on + icon at the top right

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

H. Onboard Partner28 SFTP in SFG using AMF (MFT Initiated communication profiles (outbound)).

Double click on the Partner28

Click on + icon in the top right corner

Give details of the SFTP outbound and click save

  1. Remote Host: Remote Host/IP of the user SFTP server

  2. Remote Port: Port of the user SFTP server

  3. Remote User ID: Remote User ID of user in the 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 the step5

  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: Recipients mail addresses if we enable Send Email Notifications.

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

I. 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, Comm profile name and click on save

J. Verify the Message activity in AMF once the Partner27 uploads the file to SFG via HTTP protocol (MFG). If everything was configured correctly, the file will be delivered to Partner28 via SFTP protocol.

Go to Message activity under Track N Trace

Here we can see the details for the file Delivered to the Partner28