Specifying the Properties

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:

  1. Right-click Properties.
  2. Click New Child > Property.

    This opens the Enter Object ID dialog box.

  3. In the Property field, type TUTORIAL_PROP_ELE_CreationDate.
  4. Click OK.
  5. Right-click TUTORIAL_PROP_ELE_CreationDate, and then click Edit.

    This opens the Edit Properties dialog box.

  6. Double-click the Type value cell, and then click Date.
  7. Double-click the Label value cell, and then type Creation Date.
  8. Click OK.
  9. 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
  10. 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:

    1. Double-click Label Keys value cell, and then click Lable Value Button.

      This opens the Label Keys dialog box.

    2. In the Value field, type Open.
    3. Click Add.
    4. Repeat step b through c for each of the remaining label keys.
    5. Click OK.

    To add the value keys for the TUTORIAL_PROP_ELE_Status property:

    1. Double-click Value Keys value cell, and then click Label Value Button.

      This opens the Value Keys dialog box.

    2. In the Value field, type 0.
    3. Click Add.
    4. Repeat step b through c for each of the remaining value keys.
    5. Click OK.

    Repeat the above for the label and value keys for the TUTORIAL_PROP_ELE_Priority property.

  11. 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:
    1. Right-click TUTORIAL_PROP_ELE_EleType, and then click Edit.

      This opens the Edit Properties dialog box.

    2. Double-click the Special Property value cell, and then click Element_Type.
    3. Click OK.