Best method to Load all Process Instances which are in Error State- ?

  • 23 December 2008
  • 1 reply
  • 1 view

Badge +8

Greetings everyone,

I need to write an application which will monitor processes and will report immediately to admin if any process throws exception:

i have prototyped following two options

1) Load all the instances, and check what all instances are in error state. 

Lots of overhead, because application need to load all the process intances.

2) Use workflowmanagementServer to load Error Profiles, Load all the logs and inform Admin----Good Option.

Is there any option other then above two ? 

Thanks & regards..


1 reply

Badge +9

You could build a custom logger and plug it into the K2 logging framework.  There is an example of a custom email logger here:

 http://k2underground.com/blogs/fromthebench/archive/2008/03/03/logging-framework.aspx

HTH

Reply