Catch "Write to Database" Smart Service exceptions

Hi, All:
I have a question about exception thrown by write to db smart service: Is there any way to catch the exception(any db transaction exception) so that to handle it gracefully like bypassing following nodes to end the whole process instance. We do not want this smart service node simplLY got stuck with just sending alert message, leading he whole process instance incomplete.

OriginalPostID-229706

OriginalPostID-229706

  Discussion posts and replies are publicly visible

Parents
  • Just a variation of what andrewg has mentioned,
    1) Wrap your smart service within a sub-process.
    2) Add an (timer based) exception flow to that sub-process.

    If there is an error in the smart service, the sub-process would get hung-up and the exception flow would be taken. That way your process could become aware of an exception. You could also add error notifications to this exception path.
Reply
  • Just a variation of what andrewg has mentioned,
    1) Wrap your smart service within a sub-process.
    2) Add an (timer based) exception flow to that sub-process.

    If there is an error in the smart service, the sub-process would get hung-up and the exception flow would be taken. That way your process could become aware of an exception. You could also add error notifications to this exception path.
Children
No Data