cancel
Showing results for 
Search instead for 
Did you mean: 

Correlation - Expiration of Receiving Step

former_member343107
Participant
0 Kudos

Dear all,

In our scenario, the ccBPM integration process needs to send an asynchronous messge to an external service provider and wait for some time to get the response. If e.g. 2 days passed without response received, the integration process has to report an error.

How can I specify the expiration time for the correlation message receiving?

Thanks, Jerome

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

I am assuimng you use a Sender Step to send a message and then a separate Receive step to get the response back.

If this is the case, you can put these steps inside a block, wrap this block with a Deadline Monritoring branch.

Regards

Bhavesh

former_member343107
Participant
0 Kudos

Hi Bhavesh,

Yes, your assumption is completely correct.

There's not a "Deadline Moindotring" related property in the step of type "Block". And I didn't find there's a "Deadline Monitoring" step type. Can you explain the procedure in more detail?

I'm using NetWeaver 7.00 SP10.

Thanks + Best Regards

Jerome

justin_santhanam
Active Contributor
0 Kudos

Jerome,

Right clicK on the block step u can find insert deadline branch. select that and on the properties give 2 days as duration.

Also to error out your BPM, create exception[Give any name] at block level. In the deadline branch keep control step[choose throw exception]. Since you want the BPM to be errored out, don't need to give exception branch in the block.

Best regards,

raj.

Message was edited by:

Raj

bhavesh_kantilal
Active Contributor
0 Kudos

Raj

has described it perfectly

If stuck, let us know,

regards

Bhavesh

former_member343107
Participant
0 Kudos

Hi Raj,

Thanks a lot. In the deadline branch I can insert steps. After the deadline processing I need the process to go to a normal step to resume the process. But in the integration builder it seems that the integration process will stop at the deadline branch since it's not connected to subsequent steps. Is it correct? If yes, how can we resume to other steps in the process?

Thanks + Best Regards

Jerome

justin_santhanam
Active Contributor
0 Kudos

Jerome,

If its the case then as I said above follow the same steps and right clikc add insert exception branch [don't give any steps inside exception branch], now wht happens you have caught the exception, hence it will come out of the block and continues the rest of the process.

Note: Make sure you caught the same exception as you thrown in the control step of Deadline branch.

best regards,

raj.

bhavesh_kantilal
Active Contributor
0 Kudos

Jerome,

1. Insert a Exception Handler for the block ( same way as you inserted a Deadline Branch).

2. In the Deadline branch , use a Control Step to throw this Exception.

3. The exception handler defined in step 1 can be a empty exception handler.

Now , the step following this block will be executed once the deadline has been reached.

regards

Bhavesh

former_member343107
Participant
0 Kudos

Thanks a lot for all the help!

Best Regards

Jerome

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jerome,

Just want to add one more thing..

Dont forget to do run transaction code <b>SWF_XI_CUSTOMIZING</b>.ie Automatic BPE Customizing.

<i>Click on Maintain Runtime Environment .

Schedule background job for deadline monitoring.</i>

There are back ground jobs which runs and checks if any process has passed deadline. So over there you can set the time in which the back ground job should run. i.e if you want the process to wait for a minute and then throw an alert/error then you should make sure that the back ground job is scheduled in a timeframe of 1 minute.

Regards,

Sumit

justin_santhanam
Active Contributor
0 Kudos

Jerome,

You are sending asynch message to external service, how u will get response, can u please clarify the flow.

Best regards,

raj.