cancel
Showing results for 
Search instead for 
Did you mean: 

BPM Design

Former Member
0 Kudos

Hi All,

We have a scenario to integrate R/3 and a Webservice using PI 7.0 SP 13.

Using the block step in parforeach mode to send the messages in parallel mode.

Following are the steps involved in our scenario to design the BPM.

1.Receive the RFC (So this is synchrounous) so we opened a sync/async bridge

2.Transformation step to get the target message into a multiline container.

3.Depending on the number of records in this container a block step with Parforeach mode

is created.

4.In this block we have a receive step to get a message

5.Send step to send the message to the webserver and get the response.

6.Transformation step to map this response and also the message of the RFC to the Webservice format.

7.Send step to send the message to the webserver and get the reponse

8.Container stpe to collect the messages as this is in block (parforeach mode) it will collect all the responses.

9.Close the sync/async bridge

Please let me know whether the design is correct.

Regards,

Srinivas.

Accepted Solutions (1)

Accepted Solutions (1)

VijayKonam
Active Contributor
0 Kudos

> 1.Receive the RFC (So this is synchrounous) so we

> opened a sync/async bridge - If your RFC is sending some data to XI and again expecting something back, then it is true. Will tell you if this bridge is needed later..

> 2.Transformation step to get the target message into

> a multiline container.

> 3.Depending on the number of records in this

> container a block step with Parforeach mode

> is created.

> 4.In this block we have a receive step to get a

> message

I dont thin a receive step is needed here. You need to use a loop for each message in the container here.

> 5.Send step to send the message to the webserver and

> get the response.

This must be a synchronous call if you web service is synchronous

> 6.Transformation step to map this response and also

> the message of the RFC to the Webservice format.

> 7.Send step to send the message to the webserver and

> get the reponse

Since here also the web service is responding.. it is synchronous..

> 8.Container stpe to collect the messages as this is

> in block (parforeach mode) it will collect all the

> responses.

> 9.Close the sync/async bridge - Dont see any async call in this scenario any where.. so no bridge is neede as all the way it is sync communication.

>

VJ

Answers (2)

Answers (2)

Former Member
0 Kudos

Srinivas and VJ,

I was not aware that you could use sync communications within a sync/async bridge scenario. So the send and receive steps within the bridge would need to be linked by correlation(s)

Regards,

Mike

VijayKonam
Active Contributor
0 Kudos

Srinivas, if you can tell us the business requirement, then we can validate the solutions. You stated the problem it self to be with a block step and par for each. First of all, you might have to let us know if there is a need for par for each.. at all in your business requirement..

VJ

Former Member
0 Kudos

Hi,

My requirement is, from the RFC i get a string which needs to be split using some rules into multiple messages.Depending on these number of messages, the requests should be sent to the webservice in parallel.

(In this parallel process i need to get communication id from the webservice and then i will sent the actual request)

Regards,

Srinivas.