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

UC07

PreviousUC06NextUC08

Last updated 3 months ago

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

Use Case: Partner13 (Sender) send files to SFG via SFTP protocol, We Zip and deliver those files to the Partner14 (Receiver) using HTTP protocol (MFG) from SFG via AMF (Agile Messaging Framework).

Sequence Diagram

Steps:

A. Onboard Partner13 and Partner14 in SFG using AMF.

B. Onboard Partner13 SFTP profile in SFG using AMF (Customer Initiated Communication Profiles (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 Zip Action as Action type.

F. Create Mailbox Action as Action type.

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. Verify the Message activity in AMF once Partner13 uploads the file to SFG via SFTP protocol. If everything was configured correctly, the file will be Mailboxed to Partner14 via HTTP protocol (MFG).

Process:

A. Onboard Partner13 and Partner14 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 Partner13, 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 do we store the Partner’s credentials? (LDAP or local (SFG/AMF) or both.

Select the provider 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 step 2.

Verify the Partner’s details and click Onboard User.

B. Onboard Partner13 SFTP in SFG using AMF (Customer Initiated communication profiles (Inbound)).

Double click on the Partner13

Click on + icon in the top right corner

Give details of the SFTP Inbound and click save

Once the Onboarding was done, we can see the status as completed.

C. Create Message Type 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

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

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 Partner13 will send and click save.

E. Create Zip Action as Action type

Go to Actions under Onboarding-> Workflow

Click on + icon to create new action

Give Name, select ZIP as Action Type.

F. Create Mailbox Action as Action Type.

Give Name, select Mailbox as Action Type.

  • Mailbox Path: Path of the receiver (Partner14) mailbox

  • Extraction Count: Option to add extraction for sent file (default value is 1).

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

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. Verify the Message activity in AMF once the Partner13 uploads the file to SFG via SFTP protocol. If everything was configured correctly, the file will be Mailboxed to Partner14 via HTTP Protocol (MFG).

Go to Message activity under Track N Trace

Here we can see the file Mailboxed to the Partner14