Generating a Scenario

When a component is finished and tested, you can operate it by generating the scenario corresponding its actual state. This operation takes place in the Designer module.

It is possible to generate scenarios for packages, procedures, interfaces or variables. These three later types are single-step scenarios.

Scenario variables are variables used in the scenario that should be set when starting the scenario to parameterize its behavior.

Note: Scenarios generated for variables contain a single step performing a refresh operation for the variable.

To generate a scenario:
  1. Double-click the Package , Interface, Procedure or Variable in the Projects view.
    The edition window opens.

  2. Select the Scenarios tab.

  3. Click the Generate Scenario button.
    A New Scenario window appears.

  4. Enter the Name of the scenario. Avoid special characters and blanks, as this name could later be used in an operating system command.

  5. Enter the version of your scenario (same remark as for the scenario name concerning characters).

  6. Click OK.

  7. If you use variables in the scenario, you can define in the Scenario Variables window the variables that will be considered as parameters for the scenario. Select Use All if you want all variables to be parameters, or Selective Use, then check the parameter variables.

The scenario appears under the scenarios node of the source object in the Projects view.

An existing scenario can be regenerated with the same name and version number. This lets you replace the existing scenario by a scenario generated from the source object contents.

To regenerate a scenario:
  1. Select the Scenario in the tree

  2. Right click and select Regenerate.

  3. Click OK

Warning: Regenerating a scenario cannot be undone. For important scenarios, it is better to generate a scenario with a new version number.