Apama 10.7.2 | Building and Using Apama Dashboards | Building Dashboard Clients | Defining Dashboard Commands | Supporting deletion of a query instance
 
Supporting deletion of a query instance
Use the Delete query instance command to delete a particular query instance. This command deletes a selected (filtered by $instanceId) query instance. You have to add a control object, such as a push button and set its action to perform the delete operation. See Supporting deletion of an instance for more information.
Note:
In the case of non-parameterized queries, you cannot edit or delete the single instance of a query that is created when the query is injected. Also, you cannot create new instances of these queries. Due to these restrictions, non-parameterized queries are not exposed in the Query field of the Define Apama Command dialog.
*To define commands for deleting a query instance
1. In Define Apama Command dialog, select the command Delete query instance.
2. In the Query field, select the query to use for this command.
3. Select the filtering criteria.