cancel
Showing results for 
Search instead for 
Did you mean: 

Import Trigger: MDM PI Adapter

Former Member
0 Kudos

Dear All,

Can you please let me know if the Import gets triggered automatically (even if the inbound port is set as manual) after PI writes a file to "Ready Folder" using MDM PI Adapter?

Thanks,

Pooja

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hey,

Contrary to the common belief, MDM Adapter of PI can control MDIS. Here is how the process work.

For Inbound process:

1. MDM Adapter of PI opens a connection to the MDM Repository.

2. PI write the file in Ready folder of Inbound Port using MDM Adapter.

3. MDM Adapter then invokes MDIS to import the file.

4. Once MDIS imports the file successfully, it send successful acknowledgment to MDM Adapter.

5. MDM Adapter close the connection in PI .

6. If MDIS does not sends successful ack back to MDM Adapter, PI will throw error.

As for your question, i haven't tried it, but give it a shot and let us know how does the import work if Port is Manual or Auto.

Thanks

Aamir

Former Member
0 Kudos

Hi Pooja,

Can you please let me know if the Import gets triggered automatically (even if the inbound port is set as manual) after PI writes a file to "Ready Folder" using MDM PI Adapter?

No, this is not possible. You will get file in your ready folder but further you can not trigger your import automatically as inbound port processing is manual not automatic thus it will not import file into MDM (will not move file from ready folder to archive folder) irrespective of your import Server is running or not. So you need to set inbound port processing type as automatic.

@Aamir; As per my understanding, I agree with you some extent the Inbound process work which you defined depends on:

1. If your import Server is running, only then a processed import event is triggered (by this I mean once the import is completed i.e. file moves from Ready folder to Archive folder), thus updates the PI monitoring sytem with the message import status.

2. File from Ready folder to Archive folder only move during Inbound Port if its processing is automatic (not manual) thus can be done using MDIS (if services is running)

Regards,

Mandeep Saini

Former Member
0 Kudos

Yes Mandeep, I agree with you, and that is why i asked Pooja to test the import (by having Port as auto and then manual) and let us know

I wanted to explain the functioning of MDM Adapter, most of the time people think that MDM Adapter just drops the file in Ready folder of MDM Inbound Port and forgets about it (much like the File Adapter) but in reality, it does much more than that.

Thanks

Aamir

Former Member
0 Kudos

Hi Aamir,

PI Adapter can never control MDIS.

Data Transfer from PI to MDM involves the following steps:

1. Data sent from any connected system is stored within PIu2019s internal table.

2. The XML message is forwarded to the MDM PI Adapter.

3. The MDM JCA Adapter itself invokes the MDM Java API and sends message to MDM using MDIS port functions.

4. These XML messages are sent to corresponding MDIS port folder so that MDIS can import the files independently.

5. The Adapter updates the delivery status in PI monitoring.

6. u201CFinished Import eventu201D is thrown by MDIS and caught by the MDM JCA Adapter.

7. The import status is used to update PI monitoring accordingly.

The 6th point means, that the MDIS will send the acknowledgement which will be updated in the PI monitoring services.

This is the improvement done in PI introducing the adapter to have better monitoring.

It is never meant to and not supposed to control MDIS.

For the data to be imported automatically, then the port status should be set to automatic.

Also note that this acknowledgement from MDIS will not be sent to PI if the port is manual.

Regards,

Sravan

Former Member
0 Kudos

Hello Pooja,

The use MDM PI Adapter, is only to place the xmls in the ready folder of the specifies port of the repository.

Once the file is placed in the Ready folder, it the job of MDIS Master Data Import Server to Pick up the files from the ready folder, use the map applied in the port, update the details as per the map configurations, and move the file to archive or exception.

The job on MDM PI Adapter is only to place the file in the MDM Ready folder.

Regards,

Abhishek

Former Member
0 Kudos

Hi Pooja

If port is defined as Manual the import will not get triggered automatically.

thanks-Ravi

Former Member
0 Kudos

Yes PI places the files in ready folder.

As the port is set to "manual" the file doesn't move to archive folder but it stays in ready folder only.

Former Member
0 Kudos

Hi Pooja,

MDM Import has got nothing to with MDM PI adapter configuration at all.

The adapter will only write files to the inbound ready folder but cannot control MDIS.

If you want to import the data automatically, then the inbound port should be set to automatic.

Regards,

Sravan

cweissheimer
Advisor
Advisor
0 Kudos

Hello

MDM imports the message independently using the MDM Import Server (MDIS), even if you use the MDM PI Adapter.

Then, if the Port is set up for manual processing instead of automatic, automatic processing of files in the Ready folder will not happen.

BR,

Carlos