Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 10 Configuring Activity Monitoring : Examples of Configuring Activity Monitoring Information

Examples of Configuring Activity Monitoring Information
The format of the Monitor Event Request (MER) message must conform to the SWMonitorList.xsd schema. When generating a MER message, you can specify the following:
names of the fields whose data you want to output. You can specify all fields for all activities or you can specify a particular field for a particular activity, depending on your requirements.
activities you want to monitor or you may specify that you want to monitor all activities. When specifying the activities that you want to monitor you must also specify the steps on which the activity will be monitored. However, you may specify that you want to monitor an activity on all steps in that procedure. For an explanation of the activities that you can monitor, see "Understanding Audit Trails" in TIBCO iProcess Engine Administrator’s Guide.
Example
This section describes an example of:
The MER message detailed below shows activity monitoring information for a procedure called CARPOOL. The table below describes:
The MER message generated to represent the information in the table above is shown below.
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<ProcedureMonitor xmlns="http://bpm.tibco.com/2004/IAP/1.0/MER" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://bpm.tibco.com/2004/IAP/1.0/MER SWMonitorList.xsd">
<SchemaVersion>1.0</SchemaVersion>
<MessageType>MER</MessageType>
<FullImport>false</FullImport>
<MonitorDetail>
<Procedure Name="CARPOOL">
<NodeName>swnod103</NodeName>
</Procedure>
<GlobalFieldList>
<Field Name="STARTDATE"/>
<Field Name="VEHICLE"/>
</GlobalFieldList>
<MonitorList>
<MonitorLine>
<ActivityList>
<Activity Num="0"/>
</ActivityList>
<StepList>
<Step Name="$All$"/>
</StepList>
</MonitorLine>
<MonitorLine>
<ActivityList>
<Activity Num="2"/>
</ActivityList>
<StepList>
<Step Name="REQUEST"/>
</StepList>
<FieldList>
<Field Name="PURPOSE"></Field>
</FieldList>
</MonitorLine>
</MonitorList>
</MonitorDetail>
</ProcedureMonitor>
The XML below demonstrates some output MED messages that have been generated from the MER message.
<MED|CARPOOL|vora677|uk-nickh2k3-ora>
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<AuditEvent xmlns="http://bpm.tibco.com/2004/IAP/1.0/MED" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://bpm.tibco.com/2004/IAP/1.0/MED SWAuditMessage.xsd">
<SchemaVersion>1.0</SchemaVersion>
<MessageType>MED</MessageType>
<ActivityID>0</ActivityID>
<Procedure Name="CARPOOL">
<NodeName>vora677</NodeName>
<Number>3</Number>
<Description>Company Car Allocation</Description>
<MajorVersion>1</MajorVersion>
<MinorVersion>0</MinorVersion>
<Type>MAIN</Type>
<Status>model</Status>
</Procedure>
<Case Number="72">
<Description>Case 1</Description>
<Starter>swadmin@vora677</Starter>
<TimeStarted Microseconds="674419">2005-07-26T15:59:22</TimeStarted>
</Case>
<AuditMessage>Case started by swadmin@vora677</AuditMessage>
<Field Name="STARTDATE">
<Type>DATE</Type>
<Value></Value>
</Field>
<Field Name="VEHICLE">
<Type>TEXT</Type>
<Value></Value>
</Field>
</AuditEvent>
<MED|CARPOOL|vora677|uk-nickh2k3-ora>
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<AuditEvent xmlns="http://bpm.tibco.com/2004/IAP/1.0/MED" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://bpm.tibco.com/2004/IAP/1.0/MED SWAuditMessage.xsd">
<SchemaVersion>1.0</SchemaVersion>
<MessageType>MED</MessageType>
<ActivityID>2</ActivityID>
<Procedure Name="CARPOOL">
<NodeName>vora677</NodeName>
<Number>3</Number>
<Description>Company Car Allocation</Description>
<MajorVersion>1</MajorVersion>
<MinorVersion>0</MinorVersion>
<Type>MAIN</Type>
<Status>model</Status>
</Procedure>
<Case Number="72">
<Description>Case 1</Description>
<Starter>swadmin@vora677</Starter>
<TimeStarted Microseconds="674419">2005-07-26T15:59:22</TimeStarted>
</Case>
<AuditMessage>"REQUEST" released by swadmin@vora677</AuditMessage>
<AuditStep Name="REQUEST">
<Description>Request for Vehicle</Description>
<AuditDate Microseconds="429174">2005-07-26T15:59:54</AuditDate>
<AuditUser name="swadmin@vora677">
                <Description>Admin user</Description>
<Type>User</Type>
</AuditUser>
<Addressee Name="swadmin@vora677">
                <Description>Admin user</Description>
                <Type>User</Type>
       </Addressee>
</AuditStep>
<Field Name="STARTDATE">
<Type>DATE</Type>
<Value>27/06/2005</Value>
</Field>
<Field Name="VEHICLE">
<Type>TEXT</Type>
<Value>Estate</Value>
</Field>
<Field Name="PURPOSE">
<Type>TEXT</Type>
<Value>House moving</Value>
</Field>
</AuditEvent>
 
 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved