Creating queries

Cette rubrique concerne exclusivement ArcEditor et ArcInfo.

Several job query containers and queries are present by default in Workflow Manager. These include General Queries (All Jobs query and Unassigned Jobs query), Group Queries (Jobs assigned to my groups and Jobs with steps assigned to my groups), and Personal Queries (Jobs assigned to me and Jobs with steps assigned to me). Job queries in these folders cannot be edited but can be viewed via the shortcut menu.

The User Queries container allows you to create and edit personal job queries. A shortcut menu displays options to create new query containers and job queries and edit or delete existing queries and containers.

Étapes :
  1. Click the plus (+)/minus (-) sign to expand or collapse the tree view.
  2. Right-click a public query and click View to view the query command.

    The Public Queries can be viewed but not edited.

    User Queries is a container where you can create personal query containers and job queries.

  3. Right-click the User Queries item, point to New, then click Container or Query.

    Selecting Query will open the Define Job Query dialog box.

  4. Enter a name on the General tab
    General Tab
  5. On the Fields tab, select the fields you want to report on by double-clicking or dragging them to the list on the right.
    Fields tab
  6. After selecting the fields, modify how they will be presented to your users on the Aliases tab.
    Aliases Tab
  7. On the Filtering tab, you can define the filter you want to apply to your query.

    For example, you may want to display high-priority jobs.

    Filter Tab
  8. Click SQL View to view and/or modify the query using the query builder.
    RemarqueRemarque :

    Queries that are switched to the SQL view can no longer be viewed or edited in the design view.

    SQL View
  9. Click OK
    ConseilConseil :

    Use Import and Export on the Define Job Query dialog box to share queries between users or databases.


9/30/2010