Accessing Scenario Summary Data
 
  Scenario summary data is used to access information on the last model execution for the scenario.  
 
  The 
 scenario.summaryData global is pre-populated with the scenario summary data, which include: 
 
 
- getExecutionTime —The time taken to last execute or load this scenario.
 - getLastExecutionDate —The date this scenario was last loaded or executed.
 - getModelStatus —The status of the Insight model.
 - hasResultData —Indicates whether this scenario has result data.
 - getNumberOfSolutions —The number of solutions found while executing this scenario.
 - getObjective —The Objective value for this scenario.
 - getProblemStatus —The enumerated value for Problem Status of this scenario.
 
Accessing the Scenario Summary data
Scenario summary data can be accessed by the following methods:
Code editor
<vdl version="4.7">
    <vdl-page>
        <vdl-section vdl-if="=scenario.summaryData.hasResultData">
            <vdl-row>
                <vdl-column>
                    <span vdl-text="=scenario.summaryData.numberOfSolutions"></span>
                </vdl-column>
            </vdl-row>
        </vdl-section>
    </vdl-page>
</vdl>  
 View Designer
 
   Accessing Scenario summary data with the View Designer
