Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 23.1

Multiexcerpt

MultiExcerptNamevalidating_intro

The Designer supports you during modeling by validating the service and displaying messages for invalid implementations, and giving you advice on how to fix these errors.

There are two different ways to validate a service:

Image Removed

If auto validation is enabled in the service properties of the service details, the Designer constantly validates the service implementation.

Tip

For further information on how to enable and disable the auto validation, see Editing the Service Properties.

Image Removed

You can trigger a validation run (compilation) manually via the button icon Image Removed in the Controls panel, e.g. if

  • the auto validation is disabled in the Service panel or
  • you have just cleared the compiler cache.

After clicking this button, the Validation panel opens (if it is not already open). During the validation a spinner is shown. When the validation is done, the validation results (see error types) are displayed here.

Multiexcerpt
MultiExcerptNamevalidating_main
Image Removed

The validation results are displayed in the Validation panel. It is available in all editors:

  • BPMN Editor
  • Execution Editor
  • Mapping Editor
  • Form Editor

If you use the panel preset, the validation panel is the second tab in the lower left corner. To return to the panel preset, go to the user preferences and click button Reset Panels.

multiexcerpt

-include
SpaceWithExcerptINTERNAL
MultiExcerptName

tip

designer_

panel

development_

management

process

DisableCachingtrue

PageWithExcerptINTERNAL:_designer_excerpts

Image Removed

In the Validation panel, validation findings of a service are displayed. The icon in the panel header indicates if there are any validation issues:

Image Removed
Everything is fine. The service is ready to be deployed.
Image Removed
The validation is in progress. Wait to get the result.
Image Removed

There are validation issues. You need to resolve these issues before being able to deploy the service.

The list is sorted by error types:

  1. Image Removed Error: xUML Compiler errors
  2. Image Removed Warning: xUML Compiler warnings
  3. Image Removed Info: Designer warnings
Info

You cannot deploy and start a process service that still has validation errors. You need to resolve them first.

Error Types

Three different types of validation messages are displayed:

IconError TypeDescription

Image Removed

Info

Designer warnings are labeled with the info icon. They relate to the active editor (BPMN, form, ...), and indicate that there is a problem in the model.
Despite of these messages, the project still can be compiled and deployed.

Image Removed

WarningWarnings are reported by the xUML Compiler, and refer to the implemented execution.
If the compiler reports a warning, you can deploy the service nevertheless. However, you should check the reported items in your service.

Image Removed

Error

Errors are reported by the xUML Compiler, and refer to the implemented execution. If an error is reported, deployment is not possible.
Check the mentioned parts of the service, and eliminate the cause of the error to enable model execution.

Analyzing Validation Results

The validation panel is available in all editors, and shows Designer warnings (Image Removed) of the current editor, and xUML Compiler messages (Image Removedand Image Removed) no matter where they occur. Use the information given in the validation panel to check the mentioned elements of your service model.

Using the Displayed Information

Image Removed

Validation messages describe the error, and also provide information on how to solve the problem.

Image Removed

The items in the validation panel are links. If you click on a message...

  • ...the related editor opens if not already open.
  • ...the affected element is selected on the diagram pane.
  • ...all other messages concerning this element are highlighted.

Image Removed

This also works vice versa: Click an element on the pane to highlight all messages concerning this element.

Image Removed

Regarding the execution pane, it works the same way. If you click on a message...

  • ...the affected element is selected on the execution pane.
  • ...all messages concerning this element are highlighted.
  • ...the associated BPMN element is selected on the diagram pane.

Image Removed

Same with the Mapping Editor. Click a message to highlight the affected element or object flow in the editor.

Sharing Validation Messages

Image Removed

Tip

Sometimes you want to share a validation message with another developer.

Select the displayed message (or the part you want to share) with your mouse or a double-click. Now you can copy and paste the highlighted content, e.g. to an email or a chat.

_big

This chapter explains how to...

...work with the validation panel to resolve validation errors.

...work in the test environment of the Designer.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamedesigner_working_steps_documentation
PageWithExcerptINTERNAL:_designer_excerpts