Apama Documentation : Developing Apama Applications : Developing Apama Applications in Event Modeler : Working with Blocks Created from Scenarios : Deleting sub-scenarios
Deleting sub-scenarios
 
Unconditionally deleting a sub-scenario
Deleting all sub-scenarios
To delete a sub-scenario when it reaches its end state
1. Check the output feed for a true value for the instance ended field.
2. Call the delete operation.
The output event that the scenario block sends to its output feed to indicate that the instance has finished processing also makes the completed instance the context instance. Consequently, you do not need to set the instance id parameter before you call the delete operation.
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback