Throw And Catch User Defined Errors In IBM BPM/BAW

  • I put error type end event to a service flow
  • In the event properties tab I defined the Error Code and Error Message like below. Error code is starting with underscore (_) and errorMessage is the user defined error string.
  • I called the GetValue service from another service flow and I put the catch event to GetValue service.
  • In Error Properties tab I selected Cath Specific Error and I put same error code which I already defined it in GetValue service.
  • When I execute it in that way I didn’t get any error because I catches the error which I already throwed from GetValue service.
  • But if I change the error code parameter like below I got an error in the service





Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Advanced FP for the Enterprise Bee: Kleisli

Flatheads — (Clone) — Unit 4.

CI/CD automation for mobile development from scratch (part 1)

How to Get a Job After a Coding Bootcamp: 3 Tips to Help You Get Your Foot in the Door — Jamie…

Doing Things

C++ Threading by Examples — Part 2

Studio Field Note #7: Intra-class Scrum and Ideas

Wi-Fi / Bluetooth bringup failure due to voltage divider

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store



More from Medium

[Tech Blog]How to manage the values of the items you add on the Shopify signup page with meta…

Private Eye Case: Different Responses Based on Card and Entry Method

A noir-style image of someone being interrogated.

Testing TikTok Spark Ads

Part 2: Troubleshooting our Architecture Decision Process