Not logged in | Login
For Activity monitoring we will capture Activity Start and Activity Finished events as two input streams. ActivityStart and ActvityFinished. image1
the event structure is same for ActivityFinished.
the next step is to create a time based buckets for these events so that relations are based on a finite size of events. In the sample project the time based window is used for this purpose with window size of 5 hours. We combined the result from these time based buckets into a relation map like following
image relaion map.
TimeBasedWindow0.activityID=TimeBasedWindow1.activityID and TimeBasedWindow0.processID=TimeBasedWindow1.processID
Next step is to aggregate the relation into required groups as following
image relation aggregator.
After the aggregation with required groupings is available we'll save the result into an Output Global table as following which will then can be accessed to see the KPIs.