Specifying File Descriptors

The issue tracking system requires three file descriptors to be modeled:

File Descriptors Static Issue Filter List

  1. Right-click File Descriptors and then click New Child > File Descriptor .

    This opens the Enter Object ID dialog box.

  2. In the New ID field, next to the File Descriptor field, type TUTORIAL_FD_StaticIssueFilterList.
  3. Click OK.
  4. Right-click TUTORIAL_FD_StaticIssueFilterList (Workspace_File, Unstructured), and then click Edit.

    This opens the Edit Properties dialog box.

  5. Double-click the Prop Delimiter value cell, and then type ",".
  6. Double-click the Structure value cell, and then select Table.
  7. Double-click the Type value cell, and then select InputStream.
  8. Click OK.

    The file descriptor should look like:


    File Descriptor - StaticIssueFilterList

File Descriptors Static Issue Priority List

  1. Right-click File Descriptors, and then click New Child > File Descriptor .

    This opens the Enter Object ID dialog box.

  2. In the New ID field, next to the File Descriptor field, type TUTORIAL_FD_StaticIssuePriorityList.
  3. Click OK.
  4. Right-click TUTORIAL_FD_StaticIssuePriorityList (Workspace_File, Unstructured), and then click Edit.

    This opens the Edit Properties dialog box.

  5. Double-click the Prop Delimiter value cell, and then type ",".
  6. Double-click the Structure value cell, and then select Table.
  7. Double-click the Type value cell, and then select InputStream.
  8. Click OK.

File Descriptors Issue List

  1. Right-click File Descriptors, and then click New Child > File Descriptor .

    This opens the Enter Object ID dialog box.

  2. In the New ID field, next to the File Descriptor field, type TUTORIAL_FD_IssueList.
  3. Click OK.
  4. Right-click TUTORIAL_FD_IssueList (Workspace_File, Unstructured), and then click Edit.

    This opens the Edit Properties dialog box.

  5. Double-click the Prop Delimiter value cell, and then type ";".
  6. Double-click the Structure value cell, and then select Table.
  7. Double-click the Type value cell, and then select Local_File.
  8. Click OK.

Specifying the File Descriptors Table Structure

All three file descriptors are of type Table. You need to specify the structure of a file descriptor of type Table. To do this you need to add property relationships to the file descriptors. Drag and drop properties onto the file descriptors. You need to add the following properties to the file descriptors you have just created:

  1. In the Properties category, highlight TUTORIAL_PROP_ELE_EleType and TUTORIAL_PROP_STATIC_IssueFilter.
  2. Drag and drop onto the TUTORIAL_FD_StaticIssueFilterList file descriptor.

    This opens the Create Relationships dialog box:


    Create Relationships
  3. Click OK.

    The TUTORIAL_FD_StaticIssueFilterList file descriptor should look like this:


    TUTORIAL_FD_StaticIssueFilterList
  4. Repeat steps 1 through 3 for the TUTORIAL_FD_StaticIssuePriorityList file descriptor. Drag and drop the following properties onto the file descriptor:
    • TUTORIAL_PROP_ELE_EleType
    • TUTORIAL_PROP_ELE_Priority

    The TUTORIAL_FD_StaticIssuePriorityList file descriptor should look like this:


    TUTORIAL_FD_StaticIssuePriorityList
  5. Repeat steps 1 through 3 for the TUTORIAL_FD_IssueList file descriptor. Drag and drop the following properties onto the file descriptor:
    • TUTORIAL_PROP_ELE_TicketNumber
    • TUTORIAL_PROP_ELE_Raiser
    • TUTORIAL_PROP_ELE_CreationDate
    • TUTORIAL_PROP_ELE_Priority
    • TUTORIAL_PROP_ELE_Description
    • TUTORIAL_PROP_ELE_Status
    • TUTORIAL_PROP_ELE_EleType

    The TUTORIAL_FD_IssueList file descriptor should look like this:


    TUTORIAL_FD_StaticIssuePriorityList
Note: Ensure that the properties referenced by the file descriptors are in the order as displayed in the figure above. Otherwise, you will experience unpredictable behavior.

Specifying Associations Between Tools & File Descriptors

You need to specify the associations between your tools and the file descriptors:

  1. In the Tool Descriptors category, expand TUTORIAL_TOOL_AWM_CreateIssueFilterLevel, and then right-click File Output Parameter.
  2. Click Edit.

    This opens Edit Properties dialog box.

  3. Double-click the Target ID File value cell, and then click TUTORIAL_FD_StaticIssueFilterList.
  4. Click OK.
  5. In the Tool Descriptors category, expand TUTORIAL_TOOL_AWM_CreateStaticPriorityLevel, and then right-click File Output Parameter.
  6. Click Edit.

    This opens Edit Properties dialog box.

  7. Double-click the Target ID File value cell, and then click TUTORIAL_FD_StaticIssuePriorityList.
  8. Click OK.
  9. In the File Descriptors category folder, click TUTORIAL_FD_IssueList, and then drag the file descriptor and drop it on the TUTORIAL_TOOL_CMD_ListIssues tool descriptor.

    This displays the Create Relationships dialog box.


    Create Relationship: TUTORIAL_FD_IssueList and TUTORIAL_TOOL_CMD_ListIssues
  10. Click Output Parm.
  11. Click OK.
  12. Click File > Save .