Try OpenEdge Now
skip to main content
Developing BPM Applications with Developer Studio
Using dataslots : Creating user-defined dataslots
 

Creating user-defined dataslots

You can create dataslots, which are specific to a process. You can create a dataslot from any of the supported dataslot types (see Supported dataslot types) by performing the following procedures.
To define dataslots:
1. From the Dataslots tab, click Add.
The first page of the New Dataslot wizard appears.
2. Enter a unique name for the dataslot in the Enter a unique ID text field. Valid dataslot names must start with a letter and can only included alphanumeric characters and the underscore (_). The maximum length of a dataslot name is 30 characters, due to column width restrictions.
The following restrictions apply to dataslot names:
*Although Progress Developer Studio for OpenEdge accepts reserved Java words (or Java identifiers) as dataslot names, do not use them as dataslot names or the application publishing will fail. For example, do not use “LOGICAL” or “Object” as a dataslot name, however you can use “myboolean” or “myobject”.
3. Select the dataslot type from the Select a type list. The options are: CHARACTER (default), LONGCHAR, DATETIMETZ, DECIMAL, INTEGER, INT64, LOGICAL, Handle, Rowid, Memptr, Raw, Dataset, Table, List, Map, Number, Object, and Business Object. For more information, see Supported dataslot types.
4. Specify the dataslot tags in the Enter tags separated by commas text field. OpenEdge BPM Designer provides a default tag named “User” for all user-defined dataslots. You can either retain this default tag, type your own tag in the Enter tags separated by commas text field, or click Browse to select a tag. You can then assign these tags to new and existing dataslots.
5. Click Next. The Value page appears.
6. You can use the Value page to set the initial value of the dataslot. Clear the Undefined check box to specify a initial value of the selected dataslot.
Note: The appearance of the Value page depends on the type of dataslot that you have selected. For detailed information about setting the initial value, see the respective sub-section for the dataslot type in Dataslot properties.
7. Click Next. The Dataslot description page appears.
8. Specify a brief description of the dataslot in the Description page.
9. Click Finish to create the new dataslot, and add the defined dataslot to the Dataslots tab.
* Dataslot properties
* Defining the dataslot description
* Defining the dataslot format
* Setting the dataslot access