Mit der Workflow Manager-Lizenz verfügbar.
You can create user queries to search for jobs in the ArcGIS Workflow Manager (Classic) repository and display them in the workflow view. You must have the ManageQuery privilege to create and manage user queries. Complete the steps in the following sections to create and manage user queries.
Create user queries
Complete these steps to create user queries:
- Right-click User Queries in the Contents pane and click Create New User Query.
The Create New User Query dialog box appears.
- Provide a name for the query in the Name text box.
- Click the Fields tab.
- In the List of Tables section, choose the table that contains the fields you want to add to the query.
The Columns section is populated with the fields contained in the chosen table.
- In the Columns section, choose the field you want to add to the query and click Add.
The field appears in the table at the bottom of the Fields tab.
Tipp:
You can delete a field by clicking the Remove button next to the field name.
- Optionally, double-click the field’s alias in the table to change the display name for the field in the Job List.
- Repeat steps 4 through 6 to add additional fields to your query.
- Optionally, click the Filters tab and add filters.
- Click Add.
An SQL where clause appears.
Tipp:
You can delete a WHERE clause by clicking the Remove button .
- Choose the field you want to use as a filter, choose an operator, and choose a value or type a value for the WHERE clause.
- Optionally, repeat substeps a and b to add additional fields to your filter.
- Click Add.
- Optionally, click SQL Query to customize the query using the query builder.
Hinweis:
Queries that are saved using the SQL Query view can no longer be viewed or edited in the query designer.
- Optionally, click Validate to validate the query.
- Click OK to save the query.
The query is selected as the active query and appears in the Contents pane under User Queries.
Edit user queries
Complete these steps to edit user queries:
- If necessary, expand User Queries in the Contents pane.
- Right-click the query you want to update and click Edit User Query.
The Update User Query dialog box appears.
- Update the query as necessary.
- Click OK to save the query.
The query is selected as the active query.
Delete user queries
Complete these steps to delete user queries:
- In the Contents pane, expand User Queries if necessary.
- Right-click the query you want to delete and click Delete User Query.
The Confirm Deletion dialog box appears.
Vorsicht:
Deleting a user query is permanent and can’t be undone.
- Click OK to delete the query.
The query is deleted.