Apama Documentation : Developing Apama Applications : Developing Apama Applications in Event Modeler : Working with Blocks Created from Scenarios : Modifying sub-scenario input variable values
Modifying sub-scenario input variable values
To modify the value of one of a sub-scenario's input variables
1. Set the instance id parameter to the instance ID of the sub-scenario whose input variable you want to change.
2. Call the retrieve operation so that the sub-scenario you want to modify is the context instance.
3. Set the value of the scenario block's parameter that corresponds to the input variable you want to change. You can do this for each input variable you want to change.
4. Call the commit operation to save your changes. This does the following:
*Updates only the sub-scenario identified by the instance id parameter.
*Updates each input variable that corresponds to a scenario block parameter that you modified since the retrieve operation.
*Sends output to the output feed to indicate the current variable values.
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback