Try OpenEdge Now
skip to main content
Developing BPM Applications with Developer Studio
Introducing monitoring process : Designing a monitoring process : Using dataslots
 

Using dataslots

Table 53 lists the dataslot types that you can assign to a monitoring workstep in the monitoring process.
Table 53. Supported dataslots
Dataslot
Java Type
Comments (if any)
CHARACTER
String
Any character length longer than the maximum length specified for the process template, is truncated.
INTEGER
Double
INT64
Long
LOGICAL
Boolean
DATETIME-TZ
Long
Date must be specified in milliseconds.
LIST
List
Map
Map
Note: Dataslots of the type Object and Business Object are not supported for monitoring process.
The following business events can modify the value of the dataslots in the monitoring process instance.
*UPDATE_DATASLOT: This event can update the value of any user-defined dataslot (of the type listed in Table 53) in the monitoring process, including those dataslots not added to the monitoring workstep. This event identifies the process instance using the EIID value, before updating the dataslot values. If the value of the dataslot passed on by the event is invalid, then the dataslot update fails.
*COMPLETE_WORKSTEP: This event can only update the values of the dataslots (of the type listed in Table 53), added to the monitoring workstep. This event triggers the completion of the monitoring workstep, only after updating the dataslot values. If the value of the dataslot passed on by the event is invalid, then the dataslot update fails.
Note: The UPDATE_DATASLOT and COMPLETE_WORKSTEP events cannot update the EIID value.
To add a dataslot to a monitoring workstep:
1. From the Properties view of the workstep (external activity or adapter), click the Dataslots tab.
2. Click Add to open the Select Dataslots dialog box, which lists all the user-defined dataslots in the monitoring process.
Note: You must add only editable dataslots to a monitoring workstep.
3. Select the dataslot to be added, then click OK to add the dataslot to the table in the Dataslots tab.