Page History
Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Multiexcerpt |
---|
MultiExcerptName | validating_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.
MultiExcerptName | validating_main |
---|
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 | |||
---|---|---|---|
|
|
|
|
|
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:
- Image Removed Error: xUML Compiler errors
- Image Removed Warning: xUML Compiler warnings
- 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:
Image Removed
Info
Despite of these messages, the project still can be compiled and deployed.
Image Removed
If the compiler reports a warning, you can deploy the service nevertheless. However, you should check the reported items in your service.
Image Removed
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
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
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
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. |
|
This chapter explains how to...
...work with the validation panel to resolve validation errors.
...work in the test environment of the Designer.
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Rp | |
---|---|
|
Otp | ||||
---|---|---|---|---|
|
Rp |
---|