SlideShare uma empresa Scribd logo
1 de 21
Baixar para ler offline
1Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
White Paper
Abstract
This white paper comprehensively explains the alerts feature
that is being introduced in version 2.1 of EMC Documentum xCP.
The need for this feature is discussed briefly followed by laying
out the concepts of xCP alerts, explaining its various aspects.
Comprehensive coverage of the usage of the feature is provided
from the perspective of an xCP application developer using xCP
designer for alerts.
March 2014
Alerts in EMC® Documentum® xCelerated
Composition Platform® Version 2.1
2Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Copyright © 2014 EMC Corporation. All Rights Reserved.
EMC believes the information in this publication is accurate as
of its publication date. The information is subject to change
without notice.
The information in this publication is provided “as is.” EMC
Corporation makes no representations or warranties of any kind
with respect to the information in this publication, and
specifically disclaims implied warranties of merchantability or
fitness for a particular purpose.
Use, copying, and distribution of any EMC software described in
this publication requires an applicable software license.
For the most up-to-date listing of EMC product names, see EMC
Corporation Trademarks on EMC.com.
VMware is a registered trademark of VMware, Inc. in the United
States and/or other jurisdictions. All other trademarks used
herein are the property of their respective owners.
Part Number h12905
3Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Table of Contents
Executive summary.................................................................................................. 4
Audience............................................................................................................................4
Introduction ............................................................................................................ 4
Concepts................................................................................................................. 4
Alert Definition ...................................................................................................................5
Alert Instance .....................................................................................................................5
Alert Query .........................................................................................................................6
Sample Historical Query .......................................................................................... 6
Using xCP Designer for Alerts................................................................................... 6
Viewing alert definitions.....................................................................................................6
Creating a new alert............................................................................................................7
Configuring/Editing an Alert ...............................................................................................8
Basics ............................................................................................................................9
Triggers ........................................................................................................................10
Dataset ........................................................................................................................12
Actions.........................................................................................................................13
Configuring Alert Query.....................................................................................................18
Basics ..........................................................................................................................19
Dataset ........................................................................................................................20
User Inputs...................................................................................................................20
Alert Result List ................................................................................................................21
Conclusion............................................................................................................ 21
4Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Executive summary
This white paper explains the alerts feature that is being introduced with version 2.1
of EMC Documentum xCP. We start with the concept of alerts in the context of an xCP
application, the need for alerts and proceed with explaining in details how to use the
xCP Designer for configuring the various aspects of alerts. In the course of this we use
a really simplified sample application and show how to make use of all the
capabilities of alert feature, going through all the paths a typical xCP developer would
tread while incorporating alerts into an xCP application.
Audience
This white paper is intended for xCP application developers. It expects the reader to
have a fair understanding of the xCP concepts of processes, result list UI control, real
time query, historical query and aggregation which are usually employed while
designing any fairly non trivial xCP application.
Introduction
Any business occasionally runs into situations that require an immediate and special
attention and consequent handling of that situation on a priority. xCP alerts feature
helps in capturing such scenarios and aiding the business users to handle them. An
xCP application modeling a business process allows recording of historical business
data using historical queries. xCP application developers can now use the alerts
feature to define alerts to be raised when a certain condition is met on that collected
historical data. Along with raising an alert one can start a process automatically by
associating an action with an alert while designing the alert. The raised alerts can
also be viewed on a page in the application UI. All the raised alerts are available as
objects of an alert type in the repository and they can be queried using an Alert Query,
which is a new query type just like a real time query, but restricted to fetch only
objects of an alert type. They can be viewed by tying an appropriately designed alert
query to a result list UI control in an xCP application page. The rest of the document
details about different aspects of the xCP alert feature.
Concepts
xCP alerts intend to model any exceptional scenario during a normal course of
business that requires special attention and action. The following are a couple of
examples of likely alert scenarios
• Total loan amount disbursed in a quarter exceeds a certain amount
• Time taken to finish an activity exceeds a predefined limit
In the above examples the total loan amount in a quarter and the time taken to finish
an activity can be collected in the rows of the data tables of an appropriately
5Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
designed historical query. And then the above alert scenarios can be identified by
evaluating a boolean expression (alert condition or alert expression) on that historical
business activity data. How to design historical queries appropriately to collect the
necessary data is very much specific to the business use case being modeled. Here
we won’t be covering the myriad real world alert scenarios and how to model a
historical query to capture data for evaluating that alert condition. We would be
covering a sample case like above and provide a possible design of alert definition
for that example, giving an idea of possibilities for use cases of the feature.
Upon successfully meeting the alert condition on a row of a historical query data
table, an alert is raised. This creates an object of alert type in the repository. The
raised alert can keep with it any data from the historical query table row on which the
alert condition has met. Along with creating alert object, one can start one or more
processes as part of the actions to be performed when an alert is raised.
At this juncture, it is important to distinguish between an alert instance and an alert
definition. Consider the above alert scenario of “time taken to finish an activity
exceeds a predefined limit of 10mins”. This can happen multiples times in different
instances of process execution, each time raising an alert instance. But, all such alert
instances arise out a single alert definition. Going forward, in this document, the term
alert will be used to refer to both of them when the reference is obvious from the
context.
Alert Definition
An alert definition is configured in the xCP designer by an xCP application developer.
The alert definition is where one configures the following aspects of an alert
• Alert conditional expression
• Severity of the alert
• Data source (a historical query data table) on which the condition is
evaluated
• Data to be put into the alert instances (called the alert output columns)
• Actions to be performed when an alert is raised
An alert definition is an xCP artifact just like a process definition, BO definition etc.
For each alert definition there is a repository type created where its instances are
saved. The repository type name is of the form <namespace>_<alert name> and it is a
subtype of the documentum type dmc_xcp_alert.
The later sections explain how an xCP application developer can create and configure
alert definitions.
Alert Instance
An alert instance corresponds to one occurrence of an alert situation of a particular
alert definition. An alert instance is created as an object of the repository type
6Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
corresponding to its alert definition, that is, all the alerts arising out of one particular
alert definition are all objects of one repository type.
Alert Query
Alert query, theoretically, is a real time query but used to query only objects of an
alert type. While creating a real time query the primary model for the query can be any
of the business objects, contents and folders, whereas, for an alert query the primary
model is restricted to alerts. Just like a real time query, an alert query can be tied to a
result list control on an application page on which the alerts can be viewed and
edited.
Sample Historical Query
Before we go ahead it is necessary to give a little idea about the historical query
which is chosen as the primary model for the alert in our running example.
This historical query is designed so that it allows capturing the total loan amount
approved quarterly. We need the total quarterly approved loan amount because we
intend to fire an alert when this amount exceeds a limit, say $100,000. For simplicity,
assume that the application creates a certain BO each time a loan application is
approved and that the BO carries the approved loan amount. The historical query
listens to the create events of the BO and collects a row of data which contains the
loan amount approved for each loan application approved. To accumulate quarterly
loan amount across all loan applications we create a level one aggregation, grouping
over a dummy column, which is set to the same constant value for all of the rows so
that all the rows get grouped in the same group, and summing the loan amount
column. Now, the level 1 tables for this historical query will contain total loan
approved for Hourly, Daily, Weekly, Monthly, Quarterly and Yearly granularity levels.
Just on an aside, if we wanted an alert to be raised each time there is a loan
application is approved for more than $5,000 then there would be no need to define
an aggregation level at all. The data is available in the level 0 tables (the instance
tables) itself. The loan amount field of each row in the level 0 table corresponds to
one loan application approved.
Using xCP Designer for Alerts
This section explains the xCP designer features around the alerts functionality.
Viewing alert definitions
All the alerts definitions in an application are listed under the Alerts category in the
Object Models tab of xCP Navigator window as shown in Figure 1.
7Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Figure 1
Creating a new alert
To create a new alert, right click on the Alerts category and click on the New Alert
menu item as in Figure 2.
Figure 2
This shows a New Alert dialog box as shown in Figure 3.
8Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Figure 3
The name of the alert and the primary model for the alert are chosen here. If there are
more than one xCP projects in the application, there will be another field (not shown
in the above figure) to choose the project under which this alert would go. The name
of the alert is supposed to be a unique string among all the alerts in a project. The
primary model is a predefined historical query. It is the rows of the data table of this
historical query on which the alert condition is evaluated.
Hitting the finish button closes the dialog and creates an alert, which lists under the
Alert category in the Object Model tab of xCP Navigator window. This needs to be
further configured as explained in the Configuring/Editing an Alert to completely
define the alert.
Configuring/Editing an Alert
Double clicking on an alert definition in the alerts list will open it for configuring rest
of the necessary aspects of the alert. Within the designer the configuration of alerts is
categorized and thrown under four tabs, namely Basics, Triggers, Dataset and
Actions.
9Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Basics
Figure 4
The Basics tab, as shown in Figure 4, has just one editable field for entering a
description for the alert definition; a meaningful text describing when this alert would
be triggered. Label field shows the name of the alert that was entered while creating
the alert, system name shows the auto generated (based on the label field) unique
name, the primary model shows the historical query chosen while creating the alert
and the source field shows the xCP project under which this alert resides.
10Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Triggers
Figure 5
The Triggers tab, shown in Figure 5, is where the alert condition, a boolean
expression, is defined. The variables in the boolean expression will be fields of the
historical query which is chosen as the primary data model. Hitting the ellipsis next to
the expression text field will show a dialog with the context data, containing the fields
of the historical query table, as shown in Figure 6. For this example, we have chosen
the variable Sum of Loan Amount which appears in the expression editor in the form
of its system name total_loan_amount.s0sum_loan_amount. The condition is designed
to check if there is a row in the data table of the historical query whose Sum of Loan
Amount column value exceeds 100000.
11Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Figure 6
The Severity field (in Figure 5) provides a set of three values (Low, Medium, and High)
to be assigned to any alerts raised for this alert definition, as its severity.
The section under Aggregation in the triggers tab has two important configuration
parameters for the alert. This section is applicable only if the historical query which is
chosen as the primary model has aggregation levels defined, that is, the historical
query has an aggregation level 1 or higher.
Time granularity (in Figure 5) dropdown field is used to choose one of the aggregation
granularity levels from the available granularity levels for a historical query, namely
Hourly, Daily, Weekly, Monthly, Quarterly and Yearly. For our running example,
because we are interested in the quarterly total, we choose the granularity level of
Quarterly.
Re-evaluate Trigger on update of data (in Figure 5) is also applicable only if the
primary model has aggregation levels defined. Considering our example, a row of
data in the level 1 table for Quarterly time granularity will keep getting updated each
time a new application is processed within the same quarter. This flag will control if
an alert will be raised again upon the row getting updated given that there was an
alert raised in the past out of this same row. In our example, it may not make sense to
have a re-evaluate because once the total goes over the limit, an alert is raised and
any approval of more loan applications after that will only cause the total to further
12Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
increase over the limit and raising further alerts may not be necessary. Or is it
necessary? For this reason we have this flag, which can be judiciously used by the
xCP application developer. Sometimes, in some use case of some other business, the
aggregate metric on which the condition is evaluated might be fluctuating over and
below limit, that is, falling sometimes and rising sometimes, in which case it makes
sense to have this flag checked. Rising above the limit indicates an alert situation
and falling below the limit might indicate a business remedy being taken for the alert
and rising above again might indicate a fresh situation of alert for which a business
remedy might be needed and hence the need for a fresh alert to be raised.
Dataset
Figure 7
The Dataset tab, shown in Figure 7, allows the xCP application developer to choose
the output columns for the alert instance. Any of the columns of the historical query
data table can be pulled as an output column of the alert from the context data
window which shows the historical query columns. Hence, any output column of alert
corresponds to one of the columns of the historical query. When a row of the
13Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
historical query table satisfies the alert condition, an alert instance is created and its
output columns will get values from this row of historical query table, based on the
mapping established in the dataset tab.
Actions
Figure 8
Actions tab, as shown in Figure 8, can be used to associate actions to be performed
when an alert is raised. An action can be a stateless or a stateful process. As seen
above, there can be multiple actions configured which will all be listed in the listing.
Hitting the Add button on this tab throws a dialog, as shown in Figure 9, for
configuring an action. In the first screen we enter a label which would be the name
given to the action.
14Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Figure 9
Hitting the Next button shows the following, as shown in Figure 10, which will allow
us to select a process.
15Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Figure 10
Depending on which process (stateless or stateful) we want to start, select one of the
two radio buttons in the screen and hit the ellipsis button corresponding to that
process type which will show a list of the available processes in the application as
shown in Figure 11.
16Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Figure 11
Choose the desired process from the list of processes and hit Finish button and
proceed to the next step by hitting the Next button where the process packages and
variables, if any, can be configured how they get the data. How the process packages
and variables are mapped is nothing different here than anywhere else in xCP
application and beyond the scope of this document. The important point to note here
is that the context data available is that of the data of the raised alert, that is, any of
the properties of the raised alert is available in the context data as shown in Figure
12.
17Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Figure 12
Let’s digress a bit and talk about the fields/properties of a raised alert that are shown
in the above figure.
Total Quarterly Loan Approved: This is the output column chosen in the Dataset tab
earlier in our example. If there are more output columns chosen they all will be listed
here. This is coming here because of the output column configuration we did earlier
for this alert definition.
The rest of the following properties are common for all the alerts, irrespective of to
which alert definition they belong.
Alert Action Triggered: This is a boolean value which is set to true if only if the
processes corresponding to all the actions of the alert are successfully started.
Alert Created on: The datetime value of the time when the alert has been raised.
Alert Failed Actions: A comma separated list of names of the actions which failed to
start.
Alert Name: Name of the corresponding alert definition.
Alert Namespace: The namespace to which the corresponding alert definition
belongs.
18Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Alert Object ID: r_object_id value of this object which represent the alert instance.
Alert Object type: r_object_type value of this object.
Alert Severity: This carries the value set in the corresponding alert definition for the
severity field as explained in the section Triggers, namely Low, Medium and High.
Alert Source name: The name of primary data model (the historical query) of the
corresponding alert definition
Alert Status: This can be one of New, Acknowledged and Closed values. Whenever a
new alert is created this value is set to New. This value is editable by an xCP
application user on an application page listing alerts.
Whenever an alert is raised all the processes associated with the actions configured
in this tab will be started.
Configuring Alert Query
Within the xCP designer alert queries are listed in the Data Services tab of xCP
Navigator under the Alert Query category as shown in Figure 13.
Figure 13
A new alert query can be created by right clicking on the Alert Query category and
choosing the New Alert Query entry in the context menu. This shows up a New Alert
Query dialog as shown in Figure 14. Here we enter the name for the alert query and
choose the primary model from the listed alert definitions and hit the Finish button to
create an alert query, which needs to be further configured. An alert query tied to a
particular alert definition can only query for alerts instances of that alert definition. To
19Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
query across all the alerts one needs to choose All Alerts [xcp] entry from the list for
the primary model.
Figure 14
To complete the configuration of the alert query double click its entry in the xCP
navigator which opens it in the work area. The configurations for an alert query are
categorized under three tabs, namely Basics, Dataset and User Inputs.
Basics
Figure 15
The fields Label, System name, Description, Source and File Location have the same
meaning as the ones for an alert definition as described in the section Basics. Data
service type field indicates that this an alert query. Primary model shows the chosen
alert definition, which can be edited to change to a different alert definition.
20Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
Dataset
Figure 16
Everything in this section has the exact same meaning as that for a real time query,
the only difference being the Context Data which shows just the fields/properties of
the primary model selected. Output Columns section allows for choosing the columns
that will be displayed in the result set. Predefined Inputs section allows choosing
predefined filters (on the alert properties) for the result set.
User Inputs
Figure 17
21Alerts in EMC Documentum xCelerated Composition Platform Version 2.1
User Inputs tab, shown in Figure 17, allows for configuring alert fields that will be
shown on the result set page where the application user can enter values for those
fields, based on which the result set is filtered. Again, this has the exact same
meaning as the user input filters for real time queries.
Alert Result List
As mentioned earlier an alert query result set can be tied to a result list UI control on
an application page. On this application page an xCP application user can view the
list of alerts as shown in Figure 18. Our sample application has been run and three
loan applications have been approved with amounts $40,000, $35,000 and $25,500
which totals to $100,500 within the same quarter. This satisfies the alert condition
and an alert is created which is shown in the list here.
Figure 18
An xCP application user can also right click on an alert entry and edit the Alert Status
of that alert. A newly created alert will have its alert status set to New always. From
New state, the status can be either set to Acknowledged or Closed as shown in Figure
19.
Figure 19
From Acknowledged state, the status can set to New or Closed and from Closed state,
the status can be set to New. Typically a user will set the status of the alert from New
to Acknowledged when the alert has been noted and the task of mitigating has been
initiated; and from Acknowledged to Closed when the mitigating action has been
taken.
Conclusion
We have explained the concept of alerts in the context of xCP application and how
they can be used to capture exceptional business scenarios. We have discussed in
detail about all the aspects of an xCP alert and how they can be configured using xCP
designer and the meaning and effect of each of the configuration. Finally we have
explained how to view and edit the raised alerts using an alert query.

Mais conteúdo relacionado

Mais procurados

EMC Documentum - xCP 2.x Troubleshooting
EMC Documentum - xCP 2.x TroubleshootingEMC Documentum - xCP 2.x Troubleshooting
EMC Documentum - xCP 2.x TroubleshootingHaytham Ghandour
 
EMC Documenutm xCP 2.2 vs 1.x
EMC Documenutm xCP 2.2 vs 1.xEMC Documenutm xCP 2.2 vs 1.x
EMC Documenutm xCP 2.2 vs 1.xHaytham Ghandour
 
Case Management by EMC - xCP Platform
 Case Management by EMC - xCP Platform Case Management by EMC - xCP Platform
Case Management by EMC - xCP PlatformAmplexor
 
EMC Documentum - xCP 2.x Installation and Deployment
EMC Documentum - xCP 2.x Installation and DeploymentEMC Documentum - xCP 2.x Installation and Deployment
EMC Documentum - xCP 2.x Installation and DeploymentHaytham Ghandour
 
People soft workflow by surya 2
People soft workflow by surya 2People soft workflow by surya 2
People soft workflow by surya 2meghamystic
 
Plan ahead and act proficiently for reporting - Lessons Learned
Plan ahead and act proficiently for reporting - Lessons LearnedPlan ahead and act proficiently for reporting - Lessons Learned
Plan ahead and act proficiently for reporting - Lessons LearnedEinar Karlsen
 
SathishKumar Natarajan
SathishKumar NatarajanSathishKumar Natarajan
SathishKumar NatarajanSathish Kumar
 
ReqView / Volere Requirements Specification Template
ReqView / Volere Requirements Specification TemplateReqView / Volere Requirements Specification Template
ReqView / Volere Requirements Specification TemplateEccam
 
SAP Performance Testing Best Practice Guide v1.0
SAP Performance Testing Best Practice Guide v1.0SAP Performance Testing Best Practice Guide v1.0
SAP Performance Testing Best Practice Guide v1.0Argos
 
Oracle E Business Suite Security Made Easy - Menus, Functions, Responsibiliti...
Oracle E Business Suite Security Made Easy - Menus, Functions, Responsibiliti...Oracle E Business Suite Security Made Easy - Menus, Functions, Responsibiliti...
Oracle E Business Suite Security Made Easy - Menus, Functions, Responsibiliti...Louise Abdulkader
 
Preventing Database Perfomance Issues | DB Optimizer
Preventing Database Perfomance Issues | DB OptimizerPreventing Database Perfomance Issues | DB Optimizer
Preventing Database Perfomance Issues | DB OptimizerMichael Findling
 
Pruebas de rendimiento de Microsoft Dynamics NAV Whitepaper
Pruebas de rendimiento de Microsoft Dynamics NAV WhitepaperPruebas de rendimiento de Microsoft Dynamics NAV Whitepaper
Pruebas de rendimiento de Microsoft Dynamics NAV WhitepaperCLARA CAMPROVIN
 
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (1/3)
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (1/3)[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (1/3)
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (1/3)Carles Farré
 
Enterprise applications in the cloud - are providers ready?
Enterprise applications in the cloud - are providers ready?Enterprise applications in the cloud - are providers ready?
Enterprise applications in the cloud - are providers ready?Leonid Grinshpan, Ph.D.
 

Mais procurados (20)

EMC Documentum - xCP 2.x Troubleshooting
EMC Documentum - xCP 2.x TroubleshootingEMC Documentum - xCP 2.x Troubleshooting
EMC Documentum - xCP 2.x Troubleshooting
 
EMC Documenutm xCP 2.2 vs 1.x
EMC Documenutm xCP 2.2 vs 1.xEMC Documenutm xCP 2.2 vs 1.x
EMC Documenutm xCP 2.2 vs 1.x
 
Case Management by EMC - xCP Platform
 Case Management by EMC - xCP Platform Case Management by EMC - xCP Platform
Case Management by EMC - xCP Platform
 
EMC Documentum - xCP 2.x Installation and Deployment
EMC Documentum - xCP 2.x Installation and DeploymentEMC Documentum - xCP 2.x Installation and Deployment
EMC Documentum - xCP 2.x Installation and Deployment
 
Unit 09: Web Application Testing
Unit 09: Web Application TestingUnit 09: Web Application Testing
Unit 09: Web Application Testing
 
Wipro-Projects
Wipro-ProjectsWipro-Projects
Wipro-Projects
 
People soft workflow by surya 2
People soft workflow by surya 2People soft workflow by surya 2
People soft workflow by surya 2
 
Spring Framework -I
Spring Framework -ISpring Framework -I
Spring Framework -I
 
Plan ahead and act proficiently for reporting - Lessons Learned
Plan ahead and act proficiently for reporting - Lessons LearnedPlan ahead and act proficiently for reporting - Lessons Learned
Plan ahead and act proficiently for reporting - Lessons Learned
 
SathishKumar Natarajan
SathishKumar NatarajanSathishKumar Natarajan
SathishKumar Natarajan
 
EJBW
EJBWEJBW
EJBW
 
ReqView / Volere Requirements Specification Template
ReqView / Volere Requirements Specification TemplateReqView / Volere Requirements Specification Template
ReqView / Volere Requirements Specification Template
 
SAP Performance Testing Best Practice Guide v1.0
SAP Performance Testing Best Practice Guide v1.0SAP Performance Testing Best Practice Guide v1.0
SAP Performance Testing Best Practice Guide v1.0
 
Oracle E Business Suite Security Made Easy - Menus, Functions, Responsibiliti...
Oracle E Business Suite Security Made Easy - Menus, Functions, Responsibiliti...Oracle E Business Suite Security Made Easy - Menus, Functions, Responsibiliti...
Oracle E Business Suite Security Made Easy - Menus, Functions, Responsibiliti...
 
Preventing Database Perfomance Issues | DB Optimizer
Preventing Database Perfomance Issues | DB OptimizerPreventing Database Perfomance Issues | DB Optimizer
Preventing Database Perfomance Issues | DB Optimizer
 
PSResume
PSResumePSResume
PSResume
 
Pruebas de rendimiento de Microsoft Dynamics NAV Whitepaper
Pruebas de rendimiento de Microsoft Dynamics NAV WhitepaperPruebas de rendimiento de Microsoft Dynamics NAV Whitepaper
Pruebas de rendimiento de Microsoft Dynamics NAV Whitepaper
 
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (1/3)
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (1/3)[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (1/3)
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (1/3)
 
Reviewing requirements
Reviewing requirementsReviewing requirements
Reviewing requirements
 
Enterprise applications in the cloud - are providers ready?
Enterprise applications in the cloud - are providers ready?Enterprise applications in the cloud - are providers ready?
Enterprise applications in the cloud - are providers ready?
 

Semelhante a Alerts in EMC Documentum xCP 2.1

Epm fm-1111x-provisioning-whitepape-133674
Epm fm-1111x-provisioning-whitepape-133674Epm fm-1111x-provisioning-whitepape-133674
Epm fm-1111x-provisioning-whitepape-133674Sathya Narayanan
 
N Hibernate Explained By Example
N Hibernate Explained By ExampleN Hibernate Explained By Example
N Hibernate Explained By Exampleguest075fec
 
Getting started with oracle eprcs
Getting started with oracle eprcsGetting started with oracle eprcs
Getting started with oracle eprcsRati Sharma
 
nHibernate Explained by example
nHibernate Explained by examplenHibernate Explained by example
nHibernate Explained by exampleGuo Albert
 
NHibernate Explained By Example
NHibernate Explained By ExampleNHibernate Explained By Example
NHibernate Explained By ExampleFabricio Rojas
 
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0Haytham Ghandour
 
A wrapper for QuantLib and reference data
A wrapper for QuantLib and reference dataA wrapper for QuantLib and reference data
A wrapper for QuantLib and reference dataJun Hong
 
Android Implementation using MQTT Protocol
Android Implementation using MQTT ProtocolAndroid Implementation using MQTT Protocol
Android Implementation using MQTT ProtocolFatih Özlü
 
Part 1: DRS and DPM Implementation in Virtualized Environment, Part 2: Large ...
Part 1: DRS and DPM Implementation in Virtualized Environment, Part 2: Large ...Part 1: DRS and DPM Implementation in Virtualized Environment, Part 2: Large ...
Part 1: DRS and DPM Implementation in Virtualized Environment, Part 2: Large ...Akshay Wattal
 
Application scenarios in streaming oriented embedded-system design
Application scenarios in streaming oriented embedded-system designApplication scenarios in streaming oriented embedded-system design
Application scenarios in streaming oriented embedded-system designMr. Chanuwan
 
Peck shield audit-report-strips-1.0-for_medium
Peck shield audit-report-strips-1.0-for_mediumPeck shield audit-report-strips-1.0-for_medium
Peck shield audit-report-strips-1.0-for_mediumChengZhu22
 
an-advanced-liquid-cooling-design-for-data-center-final-v3-1-pdf.pdf
an-advanced-liquid-cooling-design-for-data-center-final-v3-1-pdf.pdfan-advanced-liquid-cooling-design-for-data-center-final-v3-1-pdf.pdf
an-advanced-liquid-cooling-design-for-data-center-final-v3-1-pdf.pdfbui thequan
 
3 bus208222 4.0_en_industrial_it_quality_control_theory_of_operation_guide
3 bus208222 4.0_en_industrial_it_quality_control_theory_of_operation_guide3 bus208222 4.0_en_industrial_it_quality_control_theory_of_operation_guide
3 bus208222 4.0_en_industrial_it_quality_control_theory_of_operation_guidedogo101
 
Developer's guide to customization
Developer's guide to customizationDeveloper's guide to customization
Developer's guide to customizationAhmed Farag
 
Asset Model Import FlexConnector Developer's Guide
Asset Model Import FlexConnector Developer's GuideAsset Model Import FlexConnector Developer's Guide
Asset Model Import FlexConnector Developer's GuideProtect724migration
 
V mware service-def-private-cloud-11q1-white-paper
V mware service-def-private-cloud-11q1-white-paperV mware service-def-private-cloud-11q1-white-paper
V mware service-def-private-cloud-11q1-white-paperChiến Nguyễn
 
The difference between in-depth analysis of virtual infrastructures & monitoring
The difference between in-depth analysis of virtual infrastructures & monitoringThe difference between in-depth analysis of virtual infrastructures & monitoring
The difference between in-depth analysis of virtual infrastructures & monitoringBettyRManning
 

Semelhante a Alerts in EMC Documentum xCP 2.1 (20)

Epm fm-1111x-provisioning-whitepape-133674
Epm fm-1111x-provisioning-whitepape-133674Epm fm-1111x-provisioning-whitepape-133674
Epm fm-1111x-provisioning-whitepape-133674
 
N Hibernate Explained By Example
N Hibernate Explained By ExampleN Hibernate Explained By Example
N Hibernate Explained By Example
 
Getting started with oracle eprcs
Getting started with oracle eprcsGetting started with oracle eprcs
Getting started with oracle eprcs
 
abcd
abcdabcd
abcd
 
nHibernate Explained by example
nHibernate Explained by examplenHibernate Explained by example
nHibernate Explained by example
 
NHibernate Explained By Example
NHibernate Explained By ExampleNHibernate Explained By Example
NHibernate Explained By Example
 
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
 
A wrapper for QuantLib and reference data
A wrapper for QuantLib and reference dataA wrapper for QuantLib and reference data
A wrapper for QuantLib and reference data
 
Android Implementation using MQTT Protocol
Android Implementation using MQTT ProtocolAndroid Implementation using MQTT Protocol
Android Implementation using MQTT Protocol
 
Part 1: DRS and DPM Implementation in Virtualized Environment, Part 2: Large ...
Part 1: DRS and DPM Implementation in Virtualized Environment, Part 2: Large ...Part 1: DRS and DPM Implementation in Virtualized Environment, Part 2: Large ...
Part 1: DRS and DPM Implementation in Virtualized Environment, Part 2: Large ...
 
Application scenarios in streaming oriented embedded-system design
Application scenarios in streaming oriented embedded-system designApplication scenarios in streaming oriented embedded-system design
Application scenarios in streaming oriented embedded-system design
 
Peck shield audit-report-strips-1.0-for_medium
Peck shield audit-report-strips-1.0-for_mediumPeck shield audit-report-strips-1.0-for_medium
Peck shield audit-report-strips-1.0-for_medium
 
an-advanced-liquid-cooling-design-for-data-center-final-v3-1-pdf.pdf
an-advanced-liquid-cooling-design-for-data-center-final-v3-1-pdf.pdfan-advanced-liquid-cooling-design-for-data-center-final-v3-1-pdf.pdf
an-advanced-liquid-cooling-design-for-data-center-final-v3-1-pdf.pdf
 
3 bus208222 4.0_en_industrial_it_quality_control_theory_of_operation_guide
3 bus208222 4.0_en_industrial_it_quality_control_theory_of_operation_guide3 bus208222 4.0_en_industrial_it_quality_control_theory_of_operation_guide
3 bus208222 4.0_en_industrial_it_quality_control_theory_of_operation_guide
 
ax2012
 ax2012 ax2012
ax2012
 
Security Center.pdf
Security Center.pdfSecurity Center.pdf
Security Center.pdf
 
Developer's guide to customization
Developer's guide to customizationDeveloper's guide to customization
Developer's guide to customization
 
Asset Model Import FlexConnector Developer's Guide
Asset Model Import FlexConnector Developer's GuideAsset Model Import FlexConnector Developer's Guide
Asset Model Import FlexConnector Developer's Guide
 
V mware service-def-private-cloud-11q1-white-paper
V mware service-def-private-cloud-11q1-white-paperV mware service-def-private-cloud-11q1-white-paper
V mware service-def-private-cloud-11q1-white-paper
 
The difference between in-depth analysis of virtual infrastructures & monitoring
The difference between in-depth analysis of virtual infrastructures & monitoringThe difference between in-depth analysis of virtual infrastructures & monitoring
The difference between in-depth analysis of virtual infrastructures & monitoring
 

Último

Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 

Último (20)

Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 

Alerts in EMC Documentum xCP 2.1

  • 1. 1Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 White Paper Abstract This white paper comprehensively explains the alerts feature that is being introduced in version 2.1 of EMC Documentum xCP. The need for this feature is discussed briefly followed by laying out the concepts of xCP alerts, explaining its various aspects. Comprehensive coverage of the usage of the feature is provided from the perspective of an xCP application developer using xCP designer for alerts. March 2014 Alerts in EMC® Documentum® xCelerated Composition Platform® Version 2.1
  • 2. 2Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Copyright © 2014 EMC Corporation. All Rights Reserved. EMC believes the information in this publication is accurate as of its publication date. The information is subject to change without notice. The information in this publication is provided “as is.” EMC Corporation makes no representations or warranties of any kind with respect to the information in this publication, and specifically disclaims implied warranties of merchantability or fitness for a particular purpose. Use, copying, and distribution of any EMC software described in this publication requires an applicable software license. For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com. VMware is a registered trademark of VMware, Inc. in the United States and/or other jurisdictions. All other trademarks used herein are the property of their respective owners. Part Number h12905
  • 3. 3Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Table of Contents Executive summary.................................................................................................. 4 Audience............................................................................................................................4 Introduction ............................................................................................................ 4 Concepts................................................................................................................. 4 Alert Definition ...................................................................................................................5 Alert Instance .....................................................................................................................5 Alert Query .........................................................................................................................6 Sample Historical Query .......................................................................................... 6 Using xCP Designer for Alerts................................................................................... 6 Viewing alert definitions.....................................................................................................6 Creating a new alert............................................................................................................7 Configuring/Editing an Alert ...............................................................................................8 Basics ............................................................................................................................9 Triggers ........................................................................................................................10 Dataset ........................................................................................................................12 Actions.........................................................................................................................13 Configuring Alert Query.....................................................................................................18 Basics ..........................................................................................................................19 Dataset ........................................................................................................................20 User Inputs...................................................................................................................20 Alert Result List ................................................................................................................21 Conclusion............................................................................................................ 21
  • 4. 4Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Executive summary This white paper explains the alerts feature that is being introduced with version 2.1 of EMC Documentum xCP. We start with the concept of alerts in the context of an xCP application, the need for alerts and proceed with explaining in details how to use the xCP Designer for configuring the various aspects of alerts. In the course of this we use a really simplified sample application and show how to make use of all the capabilities of alert feature, going through all the paths a typical xCP developer would tread while incorporating alerts into an xCP application. Audience This white paper is intended for xCP application developers. It expects the reader to have a fair understanding of the xCP concepts of processes, result list UI control, real time query, historical query and aggregation which are usually employed while designing any fairly non trivial xCP application. Introduction Any business occasionally runs into situations that require an immediate and special attention and consequent handling of that situation on a priority. xCP alerts feature helps in capturing such scenarios and aiding the business users to handle them. An xCP application modeling a business process allows recording of historical business data using historical queries. xCP application developers can now use the alerts feature to define alerts to be raised when a certain condition is met on that collected historical data. Along with raising an alert one can start a process automatically by associating an action with an alert while designing the alert. The raised alerts can also be viewed on a page in the application UI. All the raised alerts are available as objects of an alert type in the repository and they can be queried using an Alert Query, which is a new query type just like a real time query, but restricted to fetch only objects of an alert type. They can be viewed by tying an appropriately designed alert query to a result list UI control in an xCP application page. The rest of the document details about different aspects of the xCP alert feature. Concepts xCP alerts intend to model any exceptional scenario during a normal course of business that requires special attention and action. The following are a couple of examples of likely alert scenarios • Total loan amount disbursed in a quarter exceeds a certain amount • Time taken to finish an activity exceeds a predefined limit In the above examples the total loan amount in a quarter and the time taken to finish an activity can be collected in the rows of the data tables of an appropriately
  • 5. 5Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 designed historical query. And then the above alert scenarios can be identified by evaluating a boolean expression (alert condition or alert expression) on that historical business activity data. How to design historical queries appropriately to collect the necessary data is very much specific to the business use case being modeled. Here we won’t be covering the myriad real world alert scenarios and how to model a historical query to capture data for evaluating that alert condition. We would be covering a sample case like above and provide a possible design of alert definition for that example, giving an idea of possibilities for use cases of the feature. Upon successfully meeting the alert condition on a row of a historical query data table, an alert is raised. This creates an object of alert type in the repository. The raised alert can keep with it any data from the historical query table row on which the alert condition has met. Along with creating alert object, one can start one or more processes as part of the actions to be performed when an alert is raised. At this juncture, it is important to distinguish between an alert instance and an alert definition. Consider the above alert scenario of “time taken to finish an activity exceeds a predefined limit of 10mins”. This can happen multiples times in different instances of process execution, each time raising an alert instance. But, all such alert instances arise out a single alert definition. Going forward, in this document, the term alert will be used to refer to both of them when the reference is obvious from the context. Alert Definition An alert definition is configured in the xCP designer by an xCP application developer. The alert definition is where one configures the following aspects of an alert • Alert conditional expression • Severity of the alert • Data source (a historical query data table) on which the condition is evaluated • Data to be put into the alert instances (called the alert output columns) • Actions to be performed when an alert is raised An alert definition is an xCP artifact just like a process definition, BO definition etc. For each alert definition there is a repository type created where its instances are saved. The repository type name is of the form <namespace>_<alert name> and it is a subtype of the documentum type dmc_xcp_alert. The later sections explain how an xCP application developer can create and configure alert definitions. Alert Instance An alert instance corresponds to one occurrence of an alert situation of a particular alert definition. An alert instance is created as an object of the repository type
  • 6. 6Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 corresponding to its alert definition, that is, all the alerts arising out of one particular alert definition are all objects of one repository type. Alert Query Alert query, theoretically, is a real time query but used to query only objects of an alert type. While creating a real time query the primary model for the query can be any of the business objects, contents and folders, whereas, for an alert query the primary model is restricted to alerts. Just like a real time query, an alert query can be tied to a result list control on an application page on which the alerts can be viewed and edited. Sample Historical Query Before we go ahead it is necessary to give a little idea about the historical query which is chosen as the primary model for the alert in our running example. This historical query is designed so that it allows capturing the total loan amount approved quarterly. We need the total quarterly approved loan amount because we intend to fire an alert when this amount exceeds a limit, say $100,000. For simplicity, assume that the application creates a certain BO each time a loan application is approved and that the BO carries the approved loan amount. The historical query listens to the create events of the BO and collects a row of data which contains the loan amount approved for each loan application approved. To accumulate quarterly loan amount across all loan applications we create a level one aggregation, grouping over a dummy column, which is set to the same constant value for all of the rows so that all the rows get grouped in the same group, and summing the loan amount column. Now, the level 1 tables for this historical query will contain total loan approved for Hourly, Daily, Weekly, Monthly, Quarterly and Yearly granularity levels. Just on an aside, if we wanted an alert to be raised each time there is a loan application is approved for more than $5,000 then there would be no need to define an aggregation level at all. The data is available in the level 0 tables (the instance tables) itself. The loan amount field of each row in the level 0 table corresponds to one loan application approved. Using xCP Designer for Alerts This section explains the xCP designer features around the alerts functionality. Viewing alert definitions All the alerts definitions in an application are listed under the Alerts category in the Object Models tab of xCP Navigator window as shown in Figure 1.
  • 7. 7Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Figure 1 Creating a new alert To create a new alert, right click on the Alerts category and click on the New Alert menu item as in Figure 2. Figure 2 This shows a New Alert dialog box as shown in Figure 3.
  • 8. 8Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Figure 3 The name of the alert and the primary model for the alert are chosen here. If there are more than one xCP projects in the application, there will be another field (not shown in the above figure) to choose the project under which this alert would go. The name of the alert is supposed to be a unique string among all the alerts in a project. The primary model is a predefined historical query. It is the rows of the data table of this historical query on which the alert condition is evaluated. Hitting the finish button closes the dialog and creates an alert, which lists under the Alert category in the Object Model tab of xCP Navigator window. This needs to be further configured as explained in the Configuring/Editing an Alert to completely define the alert. Configuring/Editing an Alert Double clicking on an alert definition in the alerts list will open it for configuring rest of the necessary aspects of the alert. Within the designer the configuration of alerts is categorized and thrown under four tabs, namely Basics, Triggers, Dataset and Actions.
  • 9. 9Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Basics Figure 4 The Basics tab, as shown in Figure 4, has just one editable field for entering a description for the alert definition; a meaningful text describing when this alert would be triggered. Label field shows the name of the alert that was entered while creating the alert, system name shows the auto generated (based on the label field) unique name, the primary model shows the historical query chosen while creating the alert and the source field shows the xCP project under which this alert resides.
  • 10. 10Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Triggers Figure 5 The Triggers tab, shown in Figure 5, is where the alert condition, a boolean expression, is defined. The variables in the boolean expression will be fields of the historical query which is chosen as the primary data model. Hitting the ellipsis next to the expression text field will show a dialog with the context data, containing the fields of the historical query table, as shown in Figure 6. For this example, we have chosen the variable Sum of Loan Amount which appears in the expression editor in the form of its system name total_loan_amount.s0sum_loan_amount. The condition is designed to check if there is a row in the data table of the historical query whose Sum of Loan Amount column value exceeds 100000.
  • 11. 11Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Figure 6 The Severity field (in Figure 5) provides a set of three values (Low, Medium, and High) to be assigned to any alerts raised for this alert definition, as its severity. The section under Aggregation in the triggers tab has two important configuration parameters for the alert. This section is applicable only if the historical query which is chosen as the primary model has aggregation levels defined, that is, the historical query has an aggregation level 1 or higher. Time granularity (in Figure 5) dropdown field is used to choose one of the aggregation granularity levels from the available granularity levels for a historical query, namely Hourly, Daily, Weekly, Monthly, Quarterly and Yearly. For our running example, because we are interested in the quarterly total, we choose the granularity level of Quarterly. Re-evaluate Trigger on update of data (in Figure 5) is also applicable only if the primary model has aggregation levels defined. Considering our example, a row of data in the level 1 table for Quarterly time granularity will keep getting updated each time a new application is processed within the same quarter. This flag will control if an alert will be raised again upon the row getting updated given that there was an alert raised in the past out of this same row. In our example, it may not make sense to have a re-evaluate because once the total goes over the limit, an alert is raised and any approval of more loan applications after that will only cause the total to further
  • 12. 12Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 increase over the limit and raising further alerts may not be necessary. Or is it necessary? For this reason we have this flag, which can be judiciously used by the xCP application developer. Sometimes, in some use case of some other business, the aggregate metric on which the condition is evaluated might be fluctuating over and below limit, that is, falling sometimes and rising sometimes, in which case it makes sense to have this flag checked. Rising above the limit indicates an alert situation and falling below the limit might indicate a business remedy being taken for the alert and rising above again might indicate a fresh situation of alert for which a business remedy might be needed and hence the need for a fresh alert to be raised. Dataset Figure 7 The Dataset tab, shown in Figure 7, allows the xCP application developer to choose the output columns for the alert instance. Any of the columns of the historical query data table can be pulled as an output column of the alert from the context data window which shows the historical query columns. Hence, any output column of alert corresponds to one of the columns of the historical query. When a row of the
  • 13. 13Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 historical query table satisfies the alert condition, an alert instance is created and its output columns will get values from this row of historical query table, based on the mapping established in the dataset tab. Actions Figure 8 Actions tab, as shown in Figure 8, can be used to associate actions to be performed when an alert is raised. An action can be a stateless or a stateful process. As seen above, there can be multiple actions configured which will all be listed in the listing. Hitting the Add button on this tab throws a dialog, as shown in Figure 9, for configuring an action. In the first screen we enter a label which would be the name given to the action.
  • 14. 14Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Figure 9 Hitting the Next button shows the following, as shown in Figure 10, which will allow us to select a process.
  • 15. 15Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Figure 10 Depending on which process (stateless or stateful) we want to start, select one of the two radio buttons in the screen and hit the ellipsis button corresponding to that process type which will show a list of the available processes in the application as shown in Figure 11.
  • 16. 16Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Figure 11 Choose the desired process from the list of processes and hit Finish button and proceed to the next step by hitting the Next button where the process packages and variables, if any, can be configured how they get the data. How the process packages and variables are mapped is nothing different here than anywhere else in xCP application and beyond the scope of this document. The important point to note here is that the context data available is that of the data of the raised alert, that is, any of the properties of the raised alert is available in the context data as shown in Figure 12.
  • 17. 17Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Figure 12 Let’s digress a bit and talk about the fields/properties of a raised alert that are shown in the above figure. Total Quarterly Loan Approved: This is the output column chosen in the Dataset tab earlier in our example. If there are more output columns chosen they all will be listed here. This is coming here because of the output column configuration we did earlier for this alert definition. The rest of the following properties are common for all the alerts, irrespective of to which alert definition they belong. Alert Action Triggered: This is a boolean value which is set to true if only if the processes corresponding to all the actions of the alert are successfully started. Alert Created on: The datetime value of the time when the alert has been raised. Alert Failed Actions: A comma separated list of names of the actions which failed to start. Alert Name: Name of the corresponding alert definition. Alert Namespace: The namespace to which the corresponding alert definition belongs.
  • 18. 18Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Alert Object ID: r_object_id value of this object which represent the alert instance. Alert Object type: r_object_type value of this object. Alert Severity: This carries the value set in the corresponding alert definition for the severity field as explained in the section Triggers, namely Low, Medium and High. Alert Source name: The name of primary data model (the historical query) of the corresponding alert definition Alert Status: This can be one of New, Acknowledged and Closed values. Whenever a new alert is created this value is set to New. This value is editable by an xCP application user on an application page listing alerts. Whenever an alert is raised all the processes associated with the actions configured in this tab will be started. Configuring Alert Query Within the xCP designer alert queries are listed in the Data Services tab of xCP Navigator under the Alert Query category as shown in Figure 13. Figure 13 A new alert query can be created by right clicking on the Alert Query category and choosing the New Alert Query entry in the context menu. This shows up a New Alert Query dialog as shown in Figure 14. Here we enter the name for the alert query and choose the primary model from the listed alert definitions and hit the Finish button to create an alert query, which needs to be further configured. An alert query tied to a particular alert definition can only query for alerts instances of that alert definition. To
  • 19. 19Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 query across all the alerts one needs to choose All Alerts [xcp] entry from the list for the primary model. Figure 14 To complete the configuration of the alert query double click its entry in the xCP navigator which opens it in the work area. The configurations for an alert query are categorized under three tabs, namely Basics, Dataset and User Inputs. Basics Figure 15 The fields Label, System name, Description, Source and File Location have the same meaning as the ones for an alert definition as described in the section Basics. Data service type field indicates that this an alert query. Primary model shows the chosen alert definition, which can be edited to change to a different alert definition.
  • 20. 20Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 Dataset Figure 16 Everything in this section has the exact same meaning as that for a real time query, the only difference being the Context Data which shows just the fields/properties of the primary model selected. Output Columns section allows for choosing the columns that will be displayed in the result set. Predefined Inputs section allows choosing predefined filters (on the alert properties) for the result set. User Inputs Figure 17
  • 21. 21Alerts in EMC Documentum xCelerated Composition Platform Version 2.1 User Inputs tab, shown in Figure 17, allows for configuring alert fields that will be shown on the result set page where the application user can enter values for those fields, based on which the result set is filtered. Again, this has the exact same meaning as the user input filters for real time queries. Alert Result List As mentioned earlier an alert query result set can be tied to a result list UI control on an application page. On this application page an xCP application user can view the list of alerts as shown in Figure 18. Our sample application has been run and three loan applications have been approved with amounts $40,000, $35,000 and $25,500 which totals to $100,500 within the same quarter. This satisfies the alert condition and an alert is created which is shown in the list here. Figure 18 An xCP application user can also right click on an alert entry and edit the Alert Status of that alert. A newly created alert will have its alert status set to New always. From New state, the status can be either set to Acknowledged or Closed as shown in Figure 19. Figure 19 From Acknowledged state, the status can set to New or Closed and from Closed state, the status can be set to New. Typically a user will set the status of the alert from New to Acknowledged when the alert has been noted and the task of mitigating has been initiated; and from Acknowledged to Closed when the mitigating action has been taken. Conclusion We have explained the concept of alerts in the context of xCP application and how they can be used to capture exceptional business scenarios. We have discussed in detail about all the aspects of an xCP alert and how they can be configured using xCP designer and the meaning and effect of each of the configuration. Finally we have explained how to view and edit the raised alerts using an alert query.