|
Re: Business Process Monitoring - Event based [message #1081631 is a reply to message #1081613] |
Wed, 07 August 2013 09:34   |
Eclipse User |
|
|
|
Kunal Suri wrote on Wed, 07 August 2013 09:07Hello,
We have been experimenting with the QueryService (pull model) for monitoring of the data coming form the Process.
This type of monitoring is more sort of a reporting monitoring as scans the Audit trail and tells about the status and various metrics of the Activities like when were they started, which state are they in etc.
I followed the wiki page of Stardust Java API's to get these values. [1]
This discussion is a continuation of the Business Process Monitoring thread [2] but I want to know some more technical details and thus started this thread.
The drawback of the Pull monitoring technique is that we need to run the Audit trail and then retrieve the data, but now we need to consider other constraints and monitor a process or activity on that bases:
For Example:
1. The SLA for a process completion is 45 sec. and it is taking more that this time?
2. The Activity should be completed in 60 millisec but its taking more?
We need to have a program that sends alerts on such problematic situation?
I am not sure of the Working With Activity Event Handlers [3] could solve this problem?
Also, I tried to see the IWorklistMonitor (Package org.eclipse.stardust.engine.core.spi.monitoring) but I feel it only for activities that need a manual intervention. What about Application Activities ?
For example, a Process has an application activity and it uses a web service WSDL and the web service is down thus the activity would not be completed and should send a alert to the monitoring program, so that the technical staff could look into it?
Thanks for your time!
Kunal
[1] http://wiki.eclipse.org/Stardust/Knowledge_Base/Java_API/Process_Instance_Queries
[2] http://www.eclipse.org/forums/index.php/t/482625/
[3] http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.stardust.docs.dev%2Fhtml%2Fhandbooks%2Fmodelling%2Fmg-defdesk-13.htm&resultof=%22Working%22%20%22work%22%20%22Activity%22%20%22activ%22%20%22Event%22%20%22event%22%20%22Handlers%22%20%22handler%22%20
Also, something about a ProcessExecutionMonitor was mentioned in the thread [2] but I am not able to find any reference document on it?
So, if we get events when a Application or Manual Activity starts and completes using a Java API it will help us to monitor our activities better.
Thanks,
Kunal
|
|
|
|
|
|
|
|
Re: Business Process Monitoring - Event based [message #1115496 is a reply to message #1097973] |
Tue, 24 September 2013 03:16   |
Eclipse User |
|
|
|
Hi Kunal,
you can register implementations of IProcessExecutionMonitor, IWorklistMonitor, IRuntimeEnvironmentMonitor or IPartitionMonitor via META-INF/services contract. Just place a file with fully qualified class name of one of above Monitor interfaces into META-INF/services. The file itself should contain the fully qualified name of the class that implements the corresponding monitor.
e.g. file name org.eclipse.stardust.engine.core.spi.monitoring.IProcessExecutionMonitor with content org.eclipse.stardust.custom.MyProcessExecutionMonitor.
If for example a process instance is started, the callback method void processStarted(IProcessInstance process); of MyProcessExecutionMonitor is called. So you can react on this event and do whatever you need to do.
There are several other events such as process instance completion, process instance abortion, model deployment, model deletion, any worklist changes of activity instances, etc. I hope that helps to get started.
Regards,
Andreas
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.31249 seconds