cancel
Showing results for 
Search instead for 
Did you mean: 

Collecting Messages from Multiple systems

former_member186851
Active Contributor
0 Kudos

In NWBPM is there an way to connect messages from different systems?

In that case can we have many start conditons.

And how to correlate based on the condition(similar to the Fork and correlation Step)

Please help me on this

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

BPMN does allow to have multiple start events but SAP BPM doesnot, In new versions they have something called conditional start process which share the same trigger as the normal start event. You can use intermediate message to collect and correlate your msg.

Thanks

Manish

former_member186851
Active Contributor
0 Kudos

Hello Manish,

Thanks If I have messages coming from 3 different Interfaces how to proceed then?

Former Member
0 Kudos

Hi Sri,

there are 2 ways of doing that:

1)Use Intermediate message trigger to subscribe those interface events and also putting the correlation condition for dependency. Different Intemediate msg can have different  or same triggers and as a result can be triggered by different documents or same document.

2)You Can have 3 different processes which maps the 3 different interfaces to a common document type and call the main process, you can also use a service composer.

Thanks

Manish

ch_loos
Advisor
Advisor
0 Kudos

Hi Manish,

actually there is a best practice how to do this using the conditional start pattern and a "super" interface.

See the following blog by Volker Stiehl:

https://scn.sap.com/community/process-orchestration/blog/2013/07/31/how-to-collect-and-aggregate-mes...

Regards,

Christian

shabbir_mohmad
Participant
0 Kudos

Hi Raghuraman,

Yes, there is a concept called super Interface as suggested by Christian above.

You can create a super Interface by combining all the fields of different interfaces.

Like:

Interface 1:

EmpID

Name

City

Interface 2:

EmpID

Company

Then, create a service interface (we call Super Interface) containing both the above fields as below and use it as a service reference for start event in BPM.

And use Intermediate event to use correlation ID.

Super Interface :

Name

City

EmpID

Company

Regards,

SP.

former_member186851
Active Contributor
0 Kudos

Hello,

Thanks A lot Everyone.

So this super Interface should be created in PI and imported right?

And how to trigger the process Instance(usually we will have an inbound interface as trigger)

In this case how to trigger the message.

And how to get messages from each individual interfaces?

ch_loos
Advisor
Advisor
0 Kudos

Hi Sritharan,

You create the interface in ESR and use it in PI as well as BPM.

You build three iFlows - one for each interface. But all three of them will call the same BPM process with the super interface.

The process instance is triggered by the first message that is coming in, wrapped into the super interface.

All other messages (no matter which interface, they're all under the same super interface) will be received by the BPM process via intermediate event.

Look up the article that is linked in Volkers blog: http://sapexperts.wispubs.com/landing-pages/scn

It describes the solution in detail.

Regards,

Christian

former_member186851
Active Contributor
0 Kudos

Hello Christian,

Thanks a lot,But I am not able to access the document

ch_loos
Advisor
Advisor
0 Kudos

check this link

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Thanks christain and everyone for the help.

I have completed the scenario..:)