Validation and error messages

Validation is performed when you execute the CreateScenario macro. If validation fails, the macro execution is stopped, and the related error message is reported in the audit log and job manager.

This table list the error messages displayed for various validation failures:

Validation Condition Error Message
Checks that the specified name is unique for this Module. Cannot save scenario with name "{0}" because the name already exists for this module.
Checks that the specified module is valid and defined for the current cycle period. module "{0}" cannot be found.
If specified, checks that the scenario process is valid. scenario process "{0}" cannot be found.
If specified, checks that the initialization macro is valid and of the correct type.

macro "{0}" cannot be found.

macro "{0}" is not of correct type = Scenario.

If specified, checks that the users and roles are valid.

user "{0}" cannot be found.

role "{0}" cannot be found.

Checks that the access is granted to at least one valid user or role. scenario requires at least 1 user or role defined.