Apama 10.7.2 | Building and Using Apama Dashboards | Building Dashboard Clients | Defining Dashboard Commands | Supporting deletion of all instances of a query
 
Supporting deletion of all instances of a query
For a dashboard you may want to provide an option to delete all instances of a query. This can be performed by including a control object and setting its action command as Delete all instances of a query in the Define Apama Command dialog. Deleting all instances of a query will only delete those instances to which the user has delete access. By default, these are the instances created by the user.
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.