The Test business logic dialog

ClosedTo access this dialog:

  1. Using the XBOUND Management Center, open a console containing the Validation Designer. (For information about working with consoles, see XBOUND Help.)
  2. Under Process Navigation, select a process.
  3. Select Edit > Test.

Use this dialog to test the business rules in a business rule group for a selected document type. You can create new documents or change the field contents of a document before testing.

Log

To display log details, click the View Log button (). (ClosedMore information about the log details.)

Method

The name of the business rule (which is the same as the template name, unless it was changed).

Business rule template

The name of the template.

Method executed

Indicates whether the business rule was executed in the current validation cycle. The business rule is executed again only if the value of at least one trigger field is changed.

Execution failed

Indicates whether the business rule failed to execute.

Valid

Indicates whether the business rule had a positive result.

Trigger fields

A list of the fields that—when changed—cause the rule to be executed.

Validated fields

A list of the fields that assume the rule's "ValidStatus" property.

Focus

The name of the field that gets focus after the business rule is executed.

Message

The message that is displayed when the rule did not produce a positive result. This is the same as Original message, unless another message is configured.

Original message

The original error message of the business rule.

For each business rule parameter, these details are also displayed

Argument

The name of the business rule argument.

Type

The type of the argument.

Assignment

The type of the assigned element. If it is a field or table cell, the name and row are also shown.

  • ValidationContext: Validation context

  • Constant: Constant value

  • Field: Field assignment

  • Table: Table cell assignment

Value

Value of the assigned element before execution.

Available columns

The first four columns are displayed by default. To display all columns described below, click the View Details button ().

ClosedAvailable columns:

Document

Name of the document or field.

Value

Field contents before executing the business rule. To change a value, click the cell in this column and change the value there.

Status

Status of the document or field before executing the business rule.

  • Unknown: No business rule was executed.

  • Valid: The document or field is valid.

  • Invalid: The document or field is invalid.

Message

Messages from the business rule.

ShownInVerifier

Indicates whether the field was already shown in Verification.

Confirmed

Indicates whether the field was confirmed in Verification.

ValidForced

Indicates whether the field was overruled.

ValidForced ChangePoint

ChangePoint at which the ValidForced status was set.

ChangePoint

Current ChangePoint of the field.

CustomValue

Content of the CustomTag field property. This property can be used, for example, in business rules. To change a custom value, click the cell in this column and change the value there.

Context menu

Right-click a field () or table () in the list, and then Closedselect one of these options:

Add Row

Adds a row to the table. (Available only for tables.)

Property 'ShownInVerifier' set

Changes status of the ShownInVerifier property. This property indicates whether the field has been displayed in a Verification step.

Property 'ValidForced' set

Changes the status of the ValidForced property. This property indicates whether the user accepted the field content despite errors.

Valid status

Changes the status of the Valid property. Choose from "Undefined", Valid, or Invalid.

Focus

If selected, this field should be transferred as a focus field to all business rules. Focus fields are highlighted with a yellow background.

The purpose of this is to be able to simulate in the tester that the field is in focus in Verification.

Property 'Confirmed' set

Changes the status of the Confirmed property. This property indicates whether the user accepted the field by pressing Enter in Verification.

Menu

Document

New

Opens the New Document dialog, where you create a new test document in a selected process step. Specify a unique name for the document.

Open

Opens the Open document dialog, where you can select an existing root document.

Only documents matching the specified document type are available in the drop-down list.

When you click OK, the boxes in the toolbar (for process step, root document, and document) are automatically filled in. If the root document is of the type that is to be tested, it is also automatically selected in the sub-document list.

Save

Saves the applied changes to the current document.

Delete

Deletes the selected document.

Test

Applies the business logic to the current document and displays its results.

Transfer

Adopts the values that the document had after executing the business rule, and uses them as the starting point for the next execution of the business rule.

Exit

Closes this dialog.

View

View Log

Displays the log with detailed information about the execution of the business rules.

View Details

Displays information about ShownInVerifier, ValidForced, ChangePoints, and CustomValue. See "Available columns" above.

Refresh

Reloads the selected document from XBOUND.

Help

Show Help

Opens this help.

Business Logic: Overview