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:
If auto validation is enabled in the service properties of the service details, the Designer constantly validates the service implementation.
You can trigger a validation run (compilation) manually via the button icon 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.
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.
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:
Icon
Error Type
Description
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.
Warning
Warnings 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.
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 () of the current editor, and xUML Compiler messages (and ) 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
Validation messages describe the error, and also provide information on how to solve the problem.
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.
This also works vice versa: Click an element on the pane to highlight all messages concerning this element.
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.
Same with the Mapping Editor. Click a message to highlight the affected element or object flow in the editor.
Sharing Validation Messages
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.