Apama Documentation : Building and Using 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 is similar to the Delete scenario instance command with the exception that this command deletes a selected (filtered by $instanceId) query instance instead of a scenario 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 a scenario 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.
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback