João Melo wrote:
Really nice article! My congrats...
The only thing I don't really like about light BPT (it is indeed present on regular BPT also) is the item #4 in your list, the one related to unhandled exceptions.
If you have lots of transactions failing due to a software malfunction (that will only be fixed on a next version), it can easily turn into a logging nightmare.
Hi João,
Thank you very much :)
I understand your concern. If this indeed became a problem, probably I would create a business error queue for all the light BPTs that generated errors, then I could be handling them manually.
On the light BPT processes I would add an Exception Handler catching all exceptions, and simply add it to the business error queue together with the error message to be able to track what cause it to fail in the first place.
This way if there was an error, the process would simply end because we handled the exception.
On the business error queues created, we could force a new light bpt to start by creating a new record on the business event table.
This would solve your problem and you could manage it the way you want.
That can work. But we're creating a business concept / process to handle tech exceptions... :/ Sounds more like a workaround than a proper solution.