As with all AWM models you need to specify the properties that represent the object attributes of the modeled system. You
need to create the following properties:
- Right-click
Properties.
- Click
.
This opens the
Enter Object ID dialog box.
- In the
Property field, type
TUTORIAL_PROP_ELE_CreationDate.
- Click
OK.
- Right-click
TUTORIAL_PROP_ELE_CreationDate, and then click
Edit.
This opens the
Edit Properties dialog box.
- Double-click the
Type value cell, and then click
Date.
- Double-click the
Label value cell, and then type
Creation Date.
- Click
OK.
- Repeat step 1 through 7 for the following properties, modifying the
Property,
Type, and
Label field values as listed:
Property
|
Type
|
Label
|
TUTORIAL_PROP_ELE_TicketNumber
|
Numeric
|
Ticket Number
|
TUTORIAL_PROP_ELE_Raiser
|
String
|
Raiser
|
TUTORIAL_PROP_OSCommandString
|
String
|
Command
|
TUTORIAL_PROP_ELE_Description
|
String
|
Description
|
TUTORIAL_PROP_ELE_EleType
|
String
|
Type
|
TUTORIAL_PROP_STATIC_IssueFilter
|
String
|
Issue
|
- The following two properties are different from the ones already specified because they are of type SelectValue. These properties
are used to restrict the values for the properties to a specified list. The
Label Keys are the values displayed in the selection list. The
Value Keys are the values passed to a tool when the corresponding label is selected in the list.
Note: If the
Value Keys list is empty then the label value is passed to the tool instead.
Property
|
Type
|
Label
|
Label Keys
|
Value Keys
|
Default Value
|
TUTORIAL_PROP_ELE_Status
|
SelectValue
|
Status
|
Open, In_progress, Resolved, Closed
|
0, 1, 2, 3
|
|
TUTORIAL_PROP_ELE_Priority
|
SelectValue
|
Priority
|
Low, Medium, High, Urgent
|
0, 1, 2, 3
|
*
|
To add the label keys for the TUTORIAL_PROP_ELE_Status property:
- Double-click
Label Keys value cell, and then click
.
This opens the
Label Keys dialog box.
- In the
Value field, type
Open.
- Click
Add.
- Repeat step b through c for each of the remaining label keys.
- Click
OK.
To add the value keys for the TUTORIAL_PROP_ELE_Status property:
- Double-click
Value Keys value cell, and then click
.
This opens the
Value Keys dialog box.
- In the
Value field, type
0.
- Click
Add.
- Repeat step b through c for each of the remaining value keys.
- Click
OK.
Repeat the above for the label and value keys for the TUTORIAL_PROP_ELE_Priority property.
- Your model requires one property which will return the match name specifying the element type. This is identified by the Special
Property which needs to be set to Element_Type. In the issue tracking system model, specify the TUTORIAL_PROP_EleType property
as having a Special Property of Element_Type. To do this:
- Right-click
TUTORIAL_PROP_ELE_EleType, and then click
Edit.
This opens the
Edit Properties dialog box.
- Double-click the
Special Property value cell, and then click
Element_Type.
- Click
OK.