cancel
Showing results for 
Search instead for 
Did you mean: 

PI to retry sucess message 3 times

venkatasap
Participant
0 Kudos
736

Hi SapAll.

I have got a requirement in a Idoc to Web service Synchronous Interface where PI is sending the IDOC to Web service Synchronously & based on the response message even though the message status is success PI NEED TO Retry the message processing 3 times.

the response message says that some 3ry party system is unavailable, please re try.in this case PI should try to process the success message 3 times .

Regards.

Jagdish.

Accepted Solutions (0)

Answers (1)

Answers (1)

Harish
Active Contributor
0 Kudos

Hi Jagdish,

If its connection problem then you can set retry interval, refer the Mark's reply in below thread

Timeout or retry parameter in SOAP sender and r... | SCN

If you need retry based on response output then you need to do in BPM.

regards,

Harish

venkatasap
Participant
0 Kudos

Hi Harish Mistri.

yes I need the Retry based on response output. but I don't know how I do it.

can you explain it briefly as I never done in BPM.

Regards.

Jagdish.

venkatasap
Participant
0 Kudos

Hi .

so can I retry a successful message multiple times based on its response payload with PI BPM ??

Regards.

Jagdish.

Former Member
0 Kudos

Hi jagdish

If you are using PO then it is very simple to do this in CE BPM

You will Send message from PI --> CE BPM

Your BPM design will be something like this

Step 1. Start

Step 2. Automated Activity(you will call your sync web service and get response)

Step 3. Conditional Check. (If success message then step 4, if system unavailable response then step 2 again)

Step 4. End

Regards

Osman

former_member186851
Active Contributor
0 Kudos

Hello Jagadish

Get the response in message

Maintain a Count artificat. design a loop and repeat it till count reaches 3

let me know in case if your stuck somewhere.

venkatasap
Participant
0 Kudos

Hi.

how I define the conditional check saying if A then step4 else step 2 again.& I also want to know on how we specify the retry 3 times ?.

Regards.

Jagdish.

former_member186851
Active Contributor
0 Kudos

Hello Jagadish,

You can use String-equal(Input,"A") condition in the loop and for count you can use Numeric-equal(Count,3).Intialise the counter with 0 at the start step.

venkatasap
Participant
0 Kudos

Hi Raghuram .

as I need to check if input A & do process message for 3 times at time interval 15 mins how many loops must I define ?.

Regards.

Jagdish.

former_member186851
Active Contributor
0 Kudos

Hello Jagadish,

You should have loop inside.Below are blogs for collect based on time and count.combine them both.

venkatasap
Participant
0 Kudos


Hi Raghu Raman.

we are working with SAP-Net weaver-Process Integration  7.1.does the above mentioned scenarios applicable for this Version.

Regards.

Jagdish.

former_member186851
Active Contributor
0 Kudos

Hello Jagdish

Nopes..These are for single stack PO.You should do the same with CCBPM.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0575160-e6d3-2a10-5988-efb7d928c...