Try OpenEdge Now
skip to main content
User's Guide
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) as described in 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 box. Valid dataslot names must start with a letter and can contain only include alphanumeric characters and the underscore (_). The maximum length of a dataslot is 28 characters.
The following restrictions apply to dataslot names:
*Although Business Process Modeler accepts reserved Java words (or Java identifiers) as dataslot names, do not use them as dataslot names or the application fails to publish. 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: CHARCATER, INTEGER, INT64, LOGICAL, DATETIMETZ, Number, List, Map, Object, and Business Object. For more information, see Table 26.
4. Specify the dataslot tags in the Enter tags... box. Process Modeler provides a default tag named “User” for all user-defined dataslots. You can either retain this default tag or type your own tag in the Enter tags... box. You can then assign these tags to new and existing dataslots.
5. Click Next. You can use the Value page to set the initial value of the dataslot. 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.
6. Click Next. In the Description page, enter a brief description of the dataslot.
7. 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