0 votes
1.8k views
in Interview Questions by (21.5k points)

2 Answers

0 votes
by
edited by

There are three types of error events:

  • Error end events in processes and services that throw errors. You can assign error codes and error data to errors that are thrown by the error end events.
  • Error intermediate events in processes and services that catch errors
  • Error start events in processes event sub-processes that catch errors

‚ÄčThe most commom and practical approach which we use is a wrapper Human service to catch all service level errors and try to resume the service from the beginning of the service. The way it is done is that instead of linking your Human Services and System Services to the implementation there is one extra layer of wrapper Error Handler Service whenever we transition from a BPD to Service layer. You can do fancy things with it like showing stack trace only when environment is non-prod, addind a reassignment for Human Services to admin/support team, displaying the input variables as xml and allowing them to alter the input variables to make the service execute properly, obviously a retry is there. I personally believe that allowing support people to alter the xml data for BOs is a bad idea but for whatever reasons have seen it implemented in certain high profile projects.

And then obviously there are Exception handling toolkits like GEX which provide Service Exception Handler generic services and Process Exception handling services. You can get it from this link and looks like there is documentation also at this link https://hub.jazz.net/project/spcommunity/bpm-general-toolkits/overview#https://hub.jazz.net/git/spcommunity%252Fbpm-general-toolkits/list/master/GEX%2520-%2520General%2520Exception%2520Handler%2520Toolkit

Always keep in mind a catch all start error event can cause an infinite loop if the exception handling is automated and an error occurs in the exception handler itself.

0 votes
by (16k points)
edited by

Related questions

0 votes
0 answers 103 views
+1 vote
2 answers 1.4k views
0 votes
1 answer 472 views
0 votes
2 answers 638 views
+1 vote
2 answers 840 views
0 votes
1 answer 361 views
0 votes
1 answer 396 views
0 votes
1 answer 333 views
0 votes
1 answer 228 views
0 votes
1 answer 314 views
0 votes
1 answer 718 views

580 questions

482 answers

85 comments

1.7k users

Dosvak IBM BPM /BAW Products, Download Evaluation
Process & Performance Tools Process & Performance Tools
Code Analyzer Code Analyzer
UI Toolkit UI Toolkit
Integration Monitoring Integration Monitoring
Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...