> For the complete documentation index, see [llms.txt](https://amfdocs.mftlabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://amfdocs.mftlabs.io/agile-messaging-framework/tutorials/usecases/uc23.md).

# UC23

**Share point --> SFG --> AMF -->CD**&#x20;

**Use Case:** We run Schedule to get files from Partner45 (Sender) folder to SFG via Share point Protocol, we use Actions EOL Conversion, Zip and Deliver those files to the Partner46 (Receiver) via CD Protocol using AMF.&#x20;

**Sequence Diagram:**

<figure><img src="https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FIGCTh0ij6PSM3nkhm7tu%2FUC23.drawio.png?alt=media&amp;token=4c4dd73a-4ab5-4c4f-b76c-d4e316b84095" alt=""><figcaption></figcaption></figure>

**Steps:**

A. Onboard Partner45 and Partner46 in SFG using AMF.

B. Create Partner45 Share Point receive profile in SFG using AMF (MFT Initiated Communication Profile (Inbound)).

C. Create Communication Rule with Sender, Receiver, Message Type and Comm Profile Name. Select Delivery Type as Schedule.

D. Create Partner46 Connect Direct Node in SFG using AMF (Customer Initiated Communication Profile (Inbound)).&#x20;

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

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

G. Create EOL Conversion Action as Action Type.

H. Create Zip as Action Type.

I. Create Deliver Action or use the predefined one (Deliver As is)

J. Create Workflow Definition and add Actions (Created in **step G**, **step H, step I**) as step1, step2 and step3 respectively.

K. Create Workflow Rule with Sender, Receiver, Message Type and Workflow Definition Name (Created in **step J**).

L. Create MFT Initiated profile for outbound delivery in Partner46 with CD Protocol.&#x20;

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

N. Verify the Message Activity in AMF once the Partner45 uploads the file to SFG via Share Point Protocol. If everything was configured correctly, the file will be delivered to Partner46 via CD Protocol using AMF.

**Process:**

**A. Onboard Partner45 in SFG and Partner46 using AMF:**

Login to AMF

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2F800DziQtiKYwzJi4V5nF%2F0.png?alt=media)

Go to Onboarding -> Users

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2Fi5YqOy2MQ3ex3Tfjp7wM%2F1.png?alt=media)

Click on + icon at the top right corner

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2Fn1UZOxRloUUXpJIrD8n1%2F2.png?alt=media)

Select Customer and give details of Partner45, 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)

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2F6BrUcyMIXszzuJJVbkvz%2F3.png?alt=media)

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 providers’ 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 the step -2.

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FgF0PQLJMKrF40lmn5hFj%2F4.png?alt=media)

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FncB2a8qqoBPo0ui8u2Yu%2F5.png?alt=media)

Verify the Partner details and click Onboard User.

Repeat the above steps for Partner46. Use AMF Provider for UFA User.

**C. Create Partne45 Share Point Protocol in SFG using AMF (MFT Initiated Communication Profile (Inbound)).**

Double click on the Partner45

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FOH38RutU3vQz4ueNdArD%2F6.png?alt=media)

Click on + icon in the top right corner

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2F4LoO9wfMm5tIwxm3m3lV%2F7.png?alt=media)

Give details of the Share point MFT Initiated Profile details and click save.

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FA8yupkPZZ1RDd6L7n91N%2F8.png?alt=media)

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FwqtQxMbrZ92wSoj3ZUy8%2F9.png?alt=media)

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FZ3Cb3DCg2ELWzaZauVa1%2F10.png?alt=media)

1. **OAuth URL**: URL to get the OAuth token
2. **Grant Type**: Grant type to get token
3. **Client ID**: Client ID of the user
4. **Client Secret**: Secret of the user
5. **Application ID**: Application of the user share point where we get files
6. **Resource ID**: Resource ID of user share point
7. **Share point Domain**: SharePoint Domain of user
8. **Site Name**: Site name of the share point user
9. **Sub Folder**: Sub folder if any to get files
10. **Message to Process**: Option to process the original or current message
11. **Proxy Required**: Option to open connections via proxy server
12. **Proxy URL**: Proxy server URL (If proxy was enabled)
13. **Proxy User Name**: Proxy user name (If proxy was enabled)
14. **Proxy Password**: Proxy password (If proxy was enabled)
15. **Regex**: Regular expression to filter the files.
16. **File Pattern**: File pattern to filter the files

Once the onboarding was done, we can see the status.

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FnLkWCZ7kkNPsqch6fxU4%2F11.png?alt=media)

**D. Create Communication Rule with Sender, Receiver, Message Type and Comm. Profile Name. Select Delivery Type as Schedule.**

Go to Rules under onboarding-> Communication

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FkaAuJnB5xJkz3eAxw8Pg%2F12.png?alt=media)

Click on + icon at top right corner

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FEeR0Bnc9N8IWkEChNalA%2F13.png?alt=media)

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

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FFS8XrjhPKV444qPHTBdd%2F14.png?alt=media)

**E. Create Partner46 Connect Direct Node in SFG using AMF (Customer Initiated Communication Profile (Inbound)).**&#x20;

Double click on the Partner46

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2Fpvec2GEkPGN0mbiBXpJX%2F15.png?alt=media)

Click on + icon in the top right corner

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2Fw23UNN5DhLHqmPgvOoZI%2F16.png?alt=media)

Give details of the CD Customer Initiated Profile and click save

<figure><img src="https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FXIIZ5C5cUfrBjbJzhcWM%2F17.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FZ2MGDMWyrDh09PMlkNVI%2F18.png?alt=media" alt=""><figcaption></figcaption></figure>

1. **Operating System:** Operating system of the Partner46
2. **SPOE:** Option to enable/disable Secure point of entry
3. **Node Name:** Node name of Partner46CDNode
4. **Host Name/IP:** Host/IP of the Partner46CDNode
5. **Port:** Port of the Partner46CDNode
6. **Alternate IPs:** we can give there are any alternate IPs for this CD node
7. **Secure+:** Option to enable/disable secure+ for SSL
8. **Cert File:** Public cert of the Partner46CDNode (In txt format with no headers)
9. **Common Name:** Common name of the CD\_PARTNER46
10. **TLS Version:** TLS version to be used in the Communication
11. **Ciphers:** Ciphers to be used in the Communication

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

<figure><img src="https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FZoQ3h3HdUUHMkif8pYOJ%2F19.png?alt=media" alt=""><figcaption></figcaption></figure>

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

Go to Message Types under Onboarding

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FuDToZa3wTFbNuwZUEHbS%2F0.png?alt=media)

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

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FaMO1CxW9OYB8E6FcN9FU%2F1.png?alt=media)

**Note**: In this scenario we will use the existing Message Type (GENERIC)

**G. Create Message Mapping with Sender, Receiver and Message Type with a file pattern:**

Go to Message Mapping under Onboarding

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2Fr0JULuIwyjf5I3LKb2wS%2F2.png?alt=media)

Click on +icon at the top right corner

!\[Graphical user interface, table

Description automatically generated]\(/files/ckpVXjyBMLLaxRJbE1Vj)

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

!\[A screenshot of a computer

Description automatically generated with medium confidence]\(/files/WqL08q60L1DmnrjTU4tK)

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FFaruSvdLnvhyGjgT8gng%2F5.png?alt=media)

**H. Create EOL Conversion Action as Action type.**

Go to Actions under Onboarding->Workflow

!\[Graphical user interface, application

Description automatically generated]\(/files/TX0uPNOvgtaY6GLtRtb4)

Click on + icon to create new action

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FmfCG1LmWDST54JMnBEty%2F7.png?alt=media)

Give Action Name, Action Type EOL Conversion and clicks save.

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2Fd1XJH7XrOGwBfvMKCpB0%2F8.png?alt=media)

**I. Create Zip Action as Action Type.**

Go to Actions under Onboarding->Workflow

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2Flb2nLlaXO9LjM4S1x74K%2F9.png?alt=media)

Click on + icon to create new Action

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FRlwJi8i3ny7Utfxz39Tn%2F10.png?alt=media)

Give Action Name, Action Type ZIP and clicks save.

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2Fqnq7fV8FRCqEil82wMOL%2F11.png?alt=media)

**J. Create Deliver Action or use the predefined one (Deliver As is)**

Go to Actions under Onboarding->Workflow

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2F8bsj0CKeYoDq1mVLqogV%2F12.png?alt=media)

Click on + icon to create new action

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FPOO7vKW1yluuFCKkmPaw%2F13.png?alt=media)

Give Action Name, Action Type Deliver and clicks save.

!\[A screenshot of a computer

Description automatically generated]\(/files/AdAEhXj0xG3ALzy5rgOb)

**K. Create Workflow Definition and add Actions (Created in step G, step H and step I) as step1, step2 and step3.**

Go to Definitions under onboarding->Workflow

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FADXuL8lSAec5kOJwkXvg%2F15.png?alt=media)

Click on + icon at the top right corner

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FKRTatqLXySD1XsPDU9mo%2F16.png?alt=media)

Give Workflow Name, Description and click save

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FvMlLBNZGwcWdyfhtWZRr%2F17.png?alt=media)

Double click on the Workflow Definition Name

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2F6WCwbJmRn8PJXf0BZRx3%2F18.png?alt=media)

Click on the + icon at the top right corner

!\[A screenshot of a computer

Description automatically generated]\(/files/gx6BjjircS3bY6pmwUaV)

Select the EOL Conversion Action that we created in **step G** as step1 and click save.

!\[A screenshot of a computer

Description automatically generated]\(/files/Mhxczgk86SnofW8ZS4KK)

Select the Zip Action that we created in **step H** as step2 and click save.

Select the Deliver Action that we created in **step I** as step3 and click save.

**K. Create Workflow Rule with Sender, Receiver, Message Type and Workflow Definition Name (Created in step J).**

Go to Rules under Onboarding -> Workflow

!\[Graphical user interface, application

Description automatically generated]\(/files/2v22RlMvttt1pGtiv6eo)

Click on + icon at the top right

!\[Graphical user interface, application

Description automatically generated]\(/files/F7URCtAtdQGun3UZpjwt)

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

!\[A screenshot of a computer

Description automatically generated]\(/files/utJvU8voEq1Xsvq4tP8Z)

**L. Create MFT Initiated Profile (Outbound) Delivery in Partner46 with CD Protocol**.

Double click on the Partner46

<figure><img src="https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FbV9ZRpncPjP5XQe0EpDX%2F3.png?alt=media" alt=""><figcaption></figcaption></figure>

Click on + icon in the top right corner

<figure><img src="https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FB22aTBjP5WhcZwt2EiN6%2F4.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FdMDw6xUxcyOztCHe9Bm6%2F5.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2F6cMMean2Wu73gF2ycuKJ%2F6.png?alt=media" alt=""><figcaption></figcaption></figure>

1. **SPOE**: Option to know if user will use SPOE or not (If SPOE was not used then we need to give Remote user ID and Remote Password)
2. **Submitter User ID**: Option to pass submitter user ID
3. **Remote User ID**: Remote User ID in the user node
4. **Use Source File Name**: Option to use source filename.
5. **Remote File Name**: Remote file name if you disabled the Use Source File Name in the 3-iv.
6. **Remote Path**: Path for the file to be placed.
7. **Disposition**: Dropdown to select disposition of the file
8. **Binary** mode: Option to enable or disable binary mode for file transfer
9. **Copy Statement Sys opts**: Option to execute copy step Sys opts. If we enable that we need to give the Sys opts to run
10. **Run Task**: Option to execute run task Sys opts. If we enable that we need to give the Sys opts to run
11. **Run Job**: Option to execute run job Sys opts. If we enable that we need to give the Sys opts to run
12. **Send Email Notifications**: Option to send email notifications for successful delivery
13. **Receivers Mail Ids**: Recipients mail addresses if we enable Send Email Notifications.
14. **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)

!\[A screenshot of a computer

Description automatically generated]\(/files/s7npFLRpl42IVzbluC5P)

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

Go to Rules under on boarding -> Communication

!\[Graphical user interface, text, application

Description automatically generated]\(/files/aOnYRQSv7NeFLpada0dP)

Click on + icon at top right corner

!\[A screenshot of a computer

Description automatically generated]\(/files/89UWOinKr8lcs5pvR2zl)

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

!\[A screenshot of a computer

Description automatically generated]\(/files/O1Kd3VMECRbOAwRSuIKM)

**N. Verify the Message Activity in AMF once the Partner45 uploads the file to SFG via Share Point Protocol. If everything was configured correctly, the file will be delivered to Partner 46 via S3 Protocol using AMF.**

Go to Message Activity under Track N Trace.

!\[Graphical user interface, application

Description automatically generated]\(/files/MFBN5gpmtqCoj3wfPmrk)

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

<figure><img src="https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2F3hDAM1R5fdG8oOl6vnnC%2F12.png?alt=media" alt=""><figcaption></figcaption></figure>

Here we can see the Process Name, Process Number, Message ID, DDSN etc. for the file delivered to the Partner46.

<figure><img src="https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2F7oWiy6uyLvz6cxDqXL5B%2F13.png?alt=media" alt=""><figcaption></figcaption></figure>
