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.