· Dec 14, 2017

Using THROW/CATCH within Business Process Lanaguage

We are starting to look into our BPL's and catch errors that calls may return. Can someone explain how to use the THROW and CATCH within the Business Process Language or have a sample of how it should work?


Scott Roth

The Ohio State University Wexner Medical Center

Discussion (3)1
Log in or sign up to continue

Generally it goes like this:

Do stuff, maybe throw exceptions (or just set status variable to error status)
Process errors. context.%LastError contains your error

Check docs for these elements, there are several examples available:

Also, check EnsLib.ebXML.Process.MessageSender for example.