Scenarios allow to automate the computation of the flow.

![nba_scenarios.png](TKj8auAyPxeb)

 1. [Build All](scenario:BUILDALL) is used to automatically run the entire flow as modified by the user and to restart the webapps with the underlined dataset and information. 
 
 2. [Change Connection](scenario:CHANGECONNECTION) is used by the project setup to let users automatically select and reconfigure the dataset connection and GenAI models.
 
 3. [Update Project Variables](scenario:UPDATEPROJECTVARIABLES) set local variables selected in the project setup to global variables. 
 4. [What-if-optimization](scenario:WHATIFOPTIMIZATION) is the backbone of the budget what-if analysis in the [Next Cycle Action Plan](dashboard:MORBud2). Once the user selects the new parameters this scenario updates the project variables, runs a new optimization problem and stores the results into [Scenarios_baseline_vs_whatif](dataset:Scenarios_baseline_vs_whatif), [nba_recommendation_whatif](dataset:nba_recommendation_whatif), [solver_metadata_whatif](dataset:solver_metadata_whatif) for the comparison with the baseline model as presented in the visualizations. 
 5. [Compute Metrics](scenario:COMPUTE_METRICS) Updates metrics in the dashboard. 
