Tools for Checking Objects
Building a consistent repository requires compliance with modeling rules. These can be rules defined by HOPEX, by a standards organization, or by administrators of your enterprise.
HOPEX provides you with tools that enable you to:
Select rules to be met
Check that your modeling objects meet these rules
Definition of concepts
Consistency Rules
A rule applies to a HOPEX repository object and defines a check on this object.
There are several levels of rule:
Suggestion: rule it is advisable to observe, but not a requirement.
Non-respect of the rule is indicated in the rules application report but does not produce a warning.
Recommendation: important rule.
Non-respect of the rule produces a warning.
Requirement: mandatory rule.
Non-respect of this rule produces an error and is a source of blocking.
*For more details on rules, see Creating Consistency Checks in the HOPEX Power Studio documentation.
Regulations
A regulation enables classification of rules according to a specific context or domain. It can contain not only a set of rules but also sub-regulations.
You can define an active regulation, permanently visible on objects concerned.
For example, if you activate the "Process Modeling Regulation" regulation, there is an automatic check on the business processes, organizational processes, activities, org-units, operations and conditions that you create and handle.
You can also apply another regulation temporarily on an object.
Active Regulation Permanent Check
An active regulation is a reference regulation, defined as such so that you can permanently check the conformity of objects that you create with rules to be respected.
Defining an active regulation  
To define an active regulation:
1. In the main menu, click Settings > Options.
2. Select Workspace > Modeling and Methods Regulations.
3. From the Active modeling regulationfield, select a regulation and click OK.
Consulting check results on an object 
To consult check results on an object:
1. Open the object properties.
2. Select the Rules application page.
You obtain the name of the regulation, followed by a table containing the names of rules in the regulation, their result for the checked object and the diagnostic.
Check results appear in the form of an icon.
Each icon relates to a regulation rule:
 
If the “Error on execution” message appears, it means the rule was not correctly implemented. In this case, consult your administrator.
Viewing state indicators in diagrams 
In diagrams as well as in the diagram preview tool, you can display state indicators under the objects which are not considered valid with respect to the rule selected. Errors can be pointed out.
*The diagram does not display any result by default. You must have activated the rule, selected the result display options and chosen to display state indicators in diagrams.
To display rule results in a diagram:
1. In the main menu, click Settings > Options.
2. Select Workspace > Modeling and Methods Regulations.
3. Select the option "Apply active regulation in diagrams".
4. In diagrams, select the State Indicators view.
 
Regulation Specific Check
When you run a check on an object, a dialog box asks you to select which regulation you wish to apply. This is a temporary check, independent of any which may be active on the object from another source The specific check relates not only to the selected object but also to objects connected to it.
To apply a specific regulation to an object: 
1. Right-click the object and select Manage > Check > Regulation with propagation.
*The effect of this command is to check the object and its connected objects. So in the case of an organizational process, you obtain results not only on the process itself but also on objects contained in this process, such as org-units, operations and messages.
The list of regulations appears: This list comprises regulations that can be applied to the object concerned.
*The regulations administrator can apply a regulation to the object other than one of those defined by default.
If an active regulation is defined and applies to the object in question, it appears in the list and is selected by default.
2. Select the regulation you wish to apply and click OK.
A report in the form of an HTML page appears.
This report indicates the regulation applied and lists the objects concerned.
The icon that appears before an object corresponds to the result not of a rule but of all rules applied to the object.
The result icon that will appear depends on the level of rules that have not been respected:
 
The link Rules Application Detail allows you to consult detail of these rules.