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

UC09

PreviousUC08NextUC10

Last updated 3 months ago

UFA --> AMF --> UFA

Use Case: Partner17 (Sender) send files to AMF (Agile Messaging Framework), we update the file name and then deliver those files to the Partner18 (Receiver) via AMF (Agile Messaging Framework).

Sequence Diagram:

Steps:

A. Onboard Partner17 and Partner18 in AMF.

B. Install UFA agents in both sides (Partner17 and Partner18).

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

D. Onboard Partner17 customer Initiated Upload profile.

E. Onboard Partner18 customer Initiated Download profile.

F. Create Route Action with adding file name format.

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

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

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

J. Verify the Message activity in AMF once the Partner17 uploads the file to SFG via UFA protocol. If everything was configured correctly, the file will be delivered to Partner18 via UFA protocol.

Process:

A. Onboard Partner17 and Partner18 in AMF:

Login to AMF

Go to Onboarding -> Users.

Click on + icon at the top right corner.

Select Customer and give details of Partner17, 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’s 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 step 2.

Verify the Partner details and click Onboard User.

Repeat the same steps for Partner18

B. Install UFA agents in both sides (Partner17 and Partner18).

Please refer the UFA installation document for this step

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 Types

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

D. Onboard Partner17 customer Initiated Upload profile:

Double click on Partner17

Click on + icon at the top right Corner

Select the protocol as UFA, operation as Upload, give the remaining details and click save

  1. Upload Folder: Folder where the files will be placed to deliver to AMF.

  2. File Pattern: File pattern to filter the files.

  3. Sender: Sender name who is sending files (Partner17 in this case)

  4. Receiver: Receiver name to whom we are delivering files via AMF (Partner18 in this case).

  5. Message Type: Message type we used in this case (GENERIC)

  6. Polling Interval: The polling interval between the sync i.e., UFA agent and server.

  7. Archive Flag: Option to enable or disable the archives.

  8. Archive Folder: Folder to archive the files if we enabled step vii

  9. Run Script Before Upload: Script name with path if we want to run any scripts before the file upload.

  10. Chunk Size: Size of the files that will be transferred in bits when there is a large file transfer

  11. PGP Encrypt: Option to encrypt the uploaded file.

  12. Validate MD5 Check Sum: Option to validate the MD5 Checksum on uploaded files.

E. Onboard Partner18 Customer Initiated Download Profile:

Double click on Partner18

Click on + icon at the top right corner.

Select the protocol as UFA, Operation as download, give the remaining details and click save.

  1. Download Folder: Folder where the files will come from AMF.

  2. Sender: Sender name who is sending files (Partner17 in this case)

  3. Receiver: Receiver name to whom we are delivering files via AMF (Partner18 in this case).

  4. Message Type: Message type we used in this case (GENERIC)

  5. Polling Interval: The polling interval between the sync between UFA agent and server.

  6. Run Script After Download: Script name with path if we want to run any scripts after the file was downloaded.

  7. Chunk Size: Size of the files that will be transferred in bits when there is a large file transfer.

  8. PGP Decrypt: Option to decrypt the downloaded file.

  9. Clean up on delivery: Option to clean the files from filesystem after successful delivery.

  10. Clean Large Files: Option to clean only large file that meets the threshold given (Sample shown below).

  11. Validate MD5 Check Sum: Option to validate the MD5 Checksum on uploaded files.

F. Create Route Action with adding file name format.

Go to Actions under Onboarding->Workflow.

Click on + icon to create new action.

Give Name, select Route as Action Type, and in the file name format give the required name (${fname}_${datetime})

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

Go to Actions under Onboarding->Workflow.

Click on + icon to create new Action.

Note: In this scenario we will use the existing Action (Deliver as is)

H. Create Workflow definition and add Actions (Created in step F and step G) 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 F, step1 and click save.

Select the Action that we created in step G, step2 and click save.

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

Go to Rules under Onboarding -> Workflow.

Click on + icon at the top right.

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

J. Verify the Message activity in AMF once Partner17 uploads the files to the upload folder. If everything was configured correctly, the file will be delivered to Partner18.

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 the Partner18