Validation and execution

On successful validation and execution of the macro, the selected scenarios are saved or discarded and set to read-only mode. The Discard parameter determines whether the scenarios are discarded or saved.
Note: 
  • The scenarios can be saved or discarded only when the scenario is editable and the status is set to WIP.
  • If the scenarios are not editable, the macro execution continues with the next step (if available).

It is recommended to execute the SaveDiscardScenarios macro command, prior to executing any Complete or Abort macro commands, to ensure those macros do not fail because of scenarios in an editable state.