Developing Apama Applications > Building Dashboards > Defining Dashboard Commands > Supporting deletion of all instances of a scenario
Supporting deletion of all instances of a scenario
For a dashboard you may want to provide an option to delete all instances of a scenario. This can be done by including a control object and setting its action command as follows.
Deleting all instances of a scenario will only delete those instances to which the user has delete access. By default, these are the instances created by the user.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.