How to catch error in a running process model?

We what to catch errors in a running process model, save the error in DB.

We also want to know when the PM halts, save something to DB, too.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Hi Liang,

    I have provided a solution to a similar error monitoring problem here:  Process Instance errors 

    I believe the same plug in can be used to address your issue. You can use the associated smart services to query which processes have nodes that have an error. You can then capture the process instance and node information and then save to DB if required. BUT there isn't functionality as yet to save the exact error message. 

    We have a similar use case in our application. We use the plug in functionality to produce a report for developers which shows process models with outstanding errors (after we automatically retry the process models 5 times to address DB connection drop issues).

    I hope this helps - please see the other discussion post I've linked for further information.

Reply
  • 0
    Certified Lead Developer

    Hi Liang,

    I have provided a solution to a similar error monitoring problem here:  Process Instance errors 

    I believe the same plug in can be used to address your issue. You can use the associated smart services to query which processes have nodes that have an error. You can then capture the process instance and node information and then save to DB if required. BUT there isn't functionality as yet to save the exact error message. 

    We have a similar use case in our application. We use the plug in functionality to produce a report for developers which shows process models with outstanding errors (after we automatically retry the process models 5 times to address DB connection drop issues).

    I hope this helps - please see the other discussion post I've linked for further information.

Children
No Data