Technology Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 

With NetWeaver Process Orchestration 7.31 SP10 and 7.40 SP5, we are now able to detect and handle technical errors.  Some examples of technical errors are invalid password, unauthorized access, network failures, etc.  The technical errors include those occur in PI.  This capability has been missing in previous releases of BPM.

Why do we want this?  During the runtime of an integration scenario, when we receive a technical error, the integration will terminate with an error message, which we can view in the monitor.  We can also be alerted of the error.  But, what if we want to automate the process so that we can react to the error?  Maybe we want to update a status database or send the message to an alternate receiver or “rollback” a previously updated application/system.

This capability is also needed when we convert ccBPM to BPM, as ccBPM can detect such error event.

To configure this in BPM is quite easy.  I am assuming that the reader is already familiar with BPM.  The steps are as follow:

  1. Create or using an existing “Automated Activity”.

   2.  Select the “Automated Activity” and click on the “Property” tab.

   3.  In the “Property” tab, select “Boundary Events”:


   4.  Click “Add…”. This will bring up the events that can be selected.  Go ahead and select “Technical Error” and click “OK”:


  5.   A new object on the upper left corner will be create in the “Automated Activity”:

  6.   When you hover the mouse over this object, you will be able to select the action you want to perform when technical error occurs:

Below is a sample BPM which uses this feature:

21 Comments
Former Member

Hi William,

Good Day!

Very nice explanation about configuring BPM. Updating SAP PO and this information is very useful. Whenever required I will refer this blog. Thank you so much for sharing this information. All the best!

Regards,

Hari Suseelan

chrismills
Explorer

Thanks Bill, good article. I was trying this out the other day and couldn't select technical error within boundary events even though we are on the latest release of PO and NWDS. Turns out a simple re-sync of the DC's made technical errors visible in NWDS.

If anyone else has this issue refer to the following: http://scn.sap.com/thread/3487670

Cheers

Chris

Jocelyn_Dart
Product and Topic Expert
Product and Topic Expert

This is a great news!  and long-awaited.  Thanks so much Bill.

Nice feature. Looking forward to be able to use it.

Former Member

Good to know this feature is now available - actually hard to believe it wasn't there from the start.  Few of my customers just couldn't understand why their processes would fail in such a simple way!

Cheers,

Gareth.

PDomerat
Explorer

Thumbs up, William! This was really a missing part for error handling with BPM!

Former Member

nice feature...

I have one question, is it possible to cancel the process using java bpm api's in SAP PO. means till now i can perform human activities and intermediate task using BPM API's.

thanks,

chetan

Former Member

Hi Chetan,

Yes, beginning with PI 7.31 SP9, this is possible.

Please reference:  Canceling a Process with the BPM API (New) - What's New in SAP NetWeaver 7.3 EHP1 (Release Notes) - ...

The method to cancel is in ProcessInstanceManager, which is describe in:  http://help.sap.com/javadocs/NW73EHP1/SPS10/CE/bpem/com.sap.bpem/com/sap/bpm/pm/api/ProcessInstanceM...)

Regards,

William

Former Member

Thanks Bill for your detailed blog! - Will use this when we move our process to the relevent SP's.

Former Member

As usual, nice one and always informative blog :smile: .

TechnicalError can catch mapping error too ?

I was thinking if automated activity of type service reference "XI" includes mapping and can we catch mapping error and send mail with as above?

---Divyesh    

Former Member

Cheers Chris, was looking for this, to upgrade existing processes.

Former Member

Hello,

thank you for the blog.

I tried to implement this in an BPM on an PO 7.40 SP7, the asynchronous message I send from the BPM to PI will stuck in status "waiting" because of an unknown host in the FTP Adapter and firewall.

But the BPM go on the "success" way -not the "Exception way - and ends before an definitive status "sucess or error".

Is the Boundary Events "technical Error" working with asynchronous Interfaces? I think it should.

Any Ideas ?

Regards

  Thorsten

ch_loos
Product and Topic Expert
Product and Topic Expert

Hi Thorsten,

This only works for synchronous messages. In the asynchronous case, the error has to be handled within PI. BPM has successfully delivered the message to PI and hence it is considered successfull.

Regards,

Christian

Former Member

Hi Christian,

it is planned to implement such feature, because in ccBPM there was a possibillity to react to asynchronous interfaces, if the transport ack wasmissing?

So in the past it would be possible to build a sync -  async bridge, so we could confirm to the synchr caller that all asynchr receiver had got the message.

Regards

  Thorsten

ch_loos
Product and Topic Expert
Product and Topic Expert

Hi Thorsten,

with Process Orchestration, you can build the sync-async bridge directly within the iFlow, so you don't actually need a BPM process.

See Alexanders blog: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50be5f78-c84d-3010-32ac-ea68b7202...

Regards,

Christian

Former Member

Hi Christin,

sorry, the word synch <-> Async may be a little bit incorrect.

We want to to give a responce to a synchronous caller, if we are sure, alls (multiple) asynchronous receiver hat received teh message. How we  do that, without techn acks for asynchronous Services in BPM ?

Regards

  Thorsten

former_member183910
Participant

HI William,

in ccBPM, there is option "Create New Transaction" in transform or send node, where is similar option in NW BPM?

in PI 7.1, I am using this option for reprocessing(if ccBPM is failed), this will start reprocessing from the same point where it failed.

Thanks

Sandeep Maurya.

Former Member

Hi William,

Thank you for nice blog.

As  mentioned in the blog with the latest SP of BPM we can handle the time out exceptions. Could you please let me know how can we capture those in bpm through web service.

Exceptions related to the service can be hold by fault structure in the service. But in case of time out and password expiry how can we capture them in bpm.

Regards,

Jaya

jocelyn.dart

christian.loos
chrismills
But this works for java.lang.IndexOutOfBoundsException: Index: 0, Size: 0  for which BPM process is abruptly suspended ?

 

Jocelyn_Dart
Product and Topic Expert
Product and Topic Expert
Hi Rajesh

This post is 5 years old. Most of us have moved on to other things. Please ask a new question to attract the attention of people currently working with BPM

Kind rgds

Jocelyn
Labels in this area