Introduction

Rules can be used in Inspections to control which Questions are shown, or shown and mandatory or hidden; or which Question Groups are shown or hidden. For further information on this topic see: https://blueworx.freshdesk.com/support/solutions/articles/19000102643-inspection-rules-explained 

Important Information

When evaluating Code Groups for Measurement Documents, the value that needs to be evaluated is a concatenation of the Category, Code Group, and Code separated by the pipe symbol. That's because that's how it's stored in SAP. So and example would be: D|T0000555|0010 

Settings

Rule Tab

The Rules Tab is where you maintain the ID and Title for the Rule. You can also maintain notes about the rule - for administration use: The following is an illustration of this page/ tab:

Screen fields are considered self explanatory.

Conditions Tab

The conditions tab is where you maintain what is to be evaluated for the rule:

The values for this screen are explained in the Conditions Dialog below.

Conditions Dialog

You can add new Conditions and maintain the values in the Condition dialog screen:

The following screen fields and controls:

Field/ FunctionDescription/ UsageRecommendation
Source TypeSelect the type of information to evaluate
Source ValueSelect the Value to match
OperatorSelect the Operator to use for the evaluation
ValueEnter the value to evaluateSee the Important Information section above regarding evaluating Measurement Code Groups

Actions Tab

The Actions tab is where you define the Actions to be taken based on the Condition evaluation:

The following screen fields and controls are defined, where not documented they are considered self explanatory or are explained elsewhere:

Field/ FunctionDescription/ UsageRecommendation
Group Section
Question Group

Column label changes as the user selects the 'Run on Pass' option
Select a Question Group
Run on PassSelect On or Off -  to evaluate the outcome of the Condition/s
HideHide the Question Group
Questions Section
QuestionSelect a Question
Run on PassSelect On or Off -  to evaluate the outcome of the Condition/s
HideHide the Question
MandatoryShow the Question and make it mandatory
Not MandatoryShow the Question and make it optional

Test Rule

From this tab you can test the rule by entering values and seeing where the Rule passes or fails:

Screen fields are considered self explanatory.

Inspections

From this tab you can see which Inspections are referencing this Rule. This tab was added in SP13: