# UC18

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

**Use Case:** We run Schedule to get files from Partner35 (Sender) folder to SFG via Share Point Protocol, we Unzip the file and Deliver those files to the Partner36 (Receiver) using S3 protocol via AMF.&#x20;

**Sequence Diagram:**

<figure><img src="https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FC991nvqLwuFfof8Hc1MH%2FUC18.drawio.png?alt=media&#x26;token=e2f659f3-7956-4e8a-a553-23858399d50d" alt=""><figcaption></figcaption></figure>

**Steps:**

A. Onboard Partner35 and Partner36 in SFG using AMF.

B. Onboard Partner35 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 Message Types or use the existing one in AMF.

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

F. Create Unzip Action as Action Type.

G. Create Deliver 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. Onboard Partner36 S3 Profile in AMF (MFT Initiated Communication Profile (Outbound)).

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

L. Verify the Message Activity in AMF once the Partner35 uploads the file to SFG via Share point protocol. If everything was configured correctly, the file will be delivered to Partner36 via S3 protocol using AMF.

**Process:**

**A. Onboard Partner35 and Partner36 in SFG via AMF:**

Login to AMF

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FGsqrYoGi2sFoD1polYUf%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%2F1CqsoXE2Vm2djrdcrWC6%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%2F7Ty0Xef2gBPN074GzY1D%2F2.png?alt=media)

Select Customer and give details of Partner35, 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%2FmKtHPf1amkYT71rOfgDC%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 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 the step-2.

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

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

Verify the Partner details and click Onboard User.

Repeat the above steps for Partner36.

**B. Onboard Partner35 Share Point Protocol in SFG using AMF (MFT Initiated Communication Profile (Inbound)).**

Double click on the Partner35

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FQd49w6H5Qb8vSQozV7zZ%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%2FOg16nWU66So7moIKEMTj%2F7.png?alt=media)

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

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

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

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

**Give** **details** **and** **click** **save**

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 on boarding was done, we can see the status.

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

**C. 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%2Fs0P4tWLJy3usMHcsF749%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%2FNslMIKdJ0TtnvnN80lBA%2F13.png?alt=media)

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

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

**D. 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%2FuK20PuBV4uACDc8fEe4B%2F15.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%2FLOnYUSDjNZP8NFqfX0ei%2F16.png?alt=media)

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

**E. 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%2Fs3J6UbcS2YovJqzkQBX8%2F0.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%2FXgAOdNn61wdRhezbxcGb%2F1.png?alt=media)

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

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

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

**F. Create Unzip 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%2FDSnswFUPDmK8BvtmBEXz%2F4.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%2FqesFVnRYDL2QlUvRDgb6%2F5.png?alt=media)

Give Action Name, Action Type Unzip and clicks save.

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

**G. 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%2FEmuvLFB7VvXBbHhOXVvt%2F7.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%2FizBBnSD1GNtegwxg0W5o%2F8.png?alt=media)

Give Action Name, Action Type Deliver and clicks save

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

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

Go to Definitions under on boarding->Workflow

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FBJuHahTeINpO940ZqfDI%2F10.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%2FHmPW8JWJJxGOXtV0CgCz%2F0.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%2F9tb0plo9kQKA9IHkYc54%2F1.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%2FgTDdXpJ3SP7SInV7lQAR%2F2.png?alt=media)

Click on the + icon at the top right corner

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

Select the Unzip Action that we created in **step F** as step1 and click save.

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

Select the Deliver Action that we created in **step G** as step2 and click save.

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

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

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

Go to Rules under Onboarding -> Workflow

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

Click on + icon at the top right

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

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

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

**J. Onboard Partner36 S3 Profile in AMF (Customer Initiated Communication Profile (Outbound)).**

Double click on the Partner36

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2F0If0tVTlRWxztEytKz3x%2F10.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%2FeyUyHR45eL0SHOeMfQ7a%2F11.png?alt=media)

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

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

Give details and click save

1. **S3 bucket:** S3 Bucket name
2. **S3 Region:** Region where S3 belongs
3. **S3 Access Key ID:** Access key ID of the S3 bucket
4. **S3 Secret Key**: Secret key of S3 bucket
5. **Message to Process**: Option to process the original or current message
6. **Proxy Required**: Option to open connections via proxy server
7. **Proxy URL**: Proxy server URL (If proxy was enabled)
8. **Proxy User Name**: Proxy user name (If proxy was enabled)
9. **Proxy Password**: Proxy password (If proxy was enabled)
10. **Upload Path:** Path to upload files
11. **Cleanup 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)

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

Go to Rules under onboarding->Communication

![](https://529847091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lEcft4Hj193xOMx83Gm%2Fuploads%2FOsOgEXLSfRHlfjvHDE9x%2F14.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%2Fa3bu390nTOreknMUvAPy%2F15.png?alt=media)

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

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

**L.  Verify the Message Activity in AMF once the Partner35 uploads the file to SFG via Share point Protocol. If everything was configured correctly, the file will be delivered to Partner36 via S3 Protocol using AMF.**

Go to Message Activity under Track N Trace

Here we can see the file Delivered to the Partner36

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