Try OpenEdge Now
skip to main content
BPM Events User's Guide
BPM Events tutorial : Using rules to monitor an application : Understanding event-maps
 

Understanding event-maps

Each process instance generates a sequence of events called an event-map. An event-map defines the sequence of events from the beginning of the process to the end.
The following demonstrates a selection of events generated by the "Assign_A_Task_V2" application:
Received event:
type=BP Server, value=PI_CREATED, Date=10-Aug-99 12:11:35 PM, DURATION=0,
PILABEL=Assign_A_Task_V2(133),
CLASSNAME=com.tdiinc.BPServer.Server.WFProcessInstance, PRIORITY=Low,
ENDTIME=0, PROCESSINSTANCENAME=Assign_A_Task_V2#133, Priority=Low,
CREATOR=grace, STARTTIME=0, DueDate=Wed Dec 31 16:00:00 PST 1969,
PROCESSTEMPLATENAME=Assign_A_Task_V2
---------- Taking appropriate action -----------
Received event:
type=BP Server, value=S_UPDATED, Date=10-Aug-99 12:11:35 PM,
DATASLOTNAME=Assignee, PROCESSINSTANCENAME=Assign_A_Task_V2#133,
CLASSNAME=com.tdiinc.BPServer.Server.WFDataslot,
DATASLOTTYPE=STRING, DATASLOTVALUE=grace, PROCESSTEMPLATENAME=Assign_A_Task_V2
---------- Taking appropriate action -----------
Received event:
type=BP Server, value=W_DUEDATESET, Date=10-Aug-99 12:11:47 PM,
PROCESSINSTANCENAME=Assign_A_Task_V2#133, DUEDATE=936169200000,
WORKSTEPNAME=DoTask, PRIORITY=Low, ENDTIME=0, INSTRUCTION=Please complete
the task according to the instructions given., PERFORMER=@Assignee,
Comments=<NULL>, WORKITEMNAME=Assign_A_Task_V2#133::DoTask,
DURATION=0, PERFORMERVALUE=grace, STARTTIME=0,
CLASSNAME=com.tdiinc.BPServer.Server.WFAtomicWS,
PROCESSTEMPLATENAME=Assign_A_Task_V2
---------- Taking appropriate action -----------
Received event:
type=BPServer, value=S_UPDATED, Date=10-Aug-99 12:11:51 PM,
DATASLOTNAME=Instructions, PROCESSINSTANCENAME=Assign_A_Task_V2#133,
CLASSNAME=com.tdiinc.BPServer.Server.WFDataslot, DATASLOTTYPE=STRING,
DATASLOTVALUE=Please review all the BP Server documentations.,
PROCESSTEMPLATENAME=Assign_A_Task_V2
---------- Taking appropriate action -----------
Received event:
type=BPServer, value=PI_PRIORITYSET, Date=10-Aug-99 12:11:51 PM, PRIORITY=Low,
Priority=Low, Assignee=grace, ENDTIME=0, CREATOR=grace,
Instructions=Please review all the BP Server documentations.,
PROCESSINSTANCENAME=Assign_A_Task_V2#133, STARTTIME=0,
PROCESSTEMPLATENAME=Assign_A_Task_V2, PILABEL=Assign_A_Task_V2 (133),
DURATION=0, DueDate=Wed Sep 01 00:00:00 PDT 1999,
CLASSNAME=com.tdiinc.BPServer.Server.WFProcessInstance
---------- Taking appropriate action -----------
Note: These events have the Business Process Server pre-defined type "BP Server." You would need to use the Value field as a secondary discriminator for the events.
Table 8 describes each event in the example.
Table 8. Predefined BP Server events
Event
Description
PI_CREATED
Indicates that a process instance has been created using the process template name "Assign_A_Task_V2." The event indicates two priorities:
*The TaskPriority defined by the user
*The ProcessPriority assigned by BP Server
S_UPDATED
Indicates that a dataslot named "Assignee" has been updated.
W_DUEDATESET
Indicates that the due date for workstep named "DoTask" has been set.
S_UPDATED
Indicates that the dataslot named "Instructions" has been updated.
PI_PRIORITYSET
Indicates that the priority for the process instance has been set.