Question

Exception Handlng in Business Procecss

Hi Team,

How do we handle the exception handling in developing the Business process.

For example, If I have 10 steps in my business process and I have to be get notified when one of this steps were failed. is there a way to achieve this?

Thanks,

Venkat.

Like 0

Like

6 comments

Dear Venkat,

You can create a custom business process that will find the process that is completed with the error with the help of the Read Data element. In this element you should read the Process Log object where End Date is not filled in and Process Status = Error. Then according to your needs you may send the email to the process owner or create a feed notification for him with the help of 

Add Data or Send Email process elements. 

Lisa

Lisa Brown,

Hi Lisa,

Thank you very much for the reply. I will try this option. Is there any other way to get notified immediately after process failure? 

Thanks,

Venkat.

Dear Venkat,

There is no other option from the user side, though you can use JS/C# to accomplish the task.

Lisa 

Lisa Brown,

Thanks Lisa.. When the record added to process log object, does it write start date and end date at the same time or insert start date first and update end date later? I am planning to add create event on process log object and check for failure when the record was added to process log.

Dear Venkat,

The record is added to the Process Log table once the process element starts. Then, when it's completed/still running/completed with errors, the record is being updated.

Lisa

Lisa Brown,

thanks Lisa.. I will write an update event for process log and when the process status is Error then will trigger an email. Thanks for the inputs. Much appreciated

Show all comments