edoc automate Guide
Breadcrumbs

Use validations for actions

You can check the current value of components in actions at runtime if required.

To check component values, use the validation function (Validator) in actions in edoc automate. You can configure at least one or more validations when editing or creating an action in the Edit Action dialog.

With a validation in an action, several components can be checked if several components are selected in the Component property.

Suppose you want to configure a validation in an action for a component.

Here's how

  1. When creating or editing in the Edit Action dialog, open the Validation section.

  2. Click on Add to add a validation to the action.

  3. In the new line, select the corresponding validation function (Regex or Required). For some validation functions (Validator), you must specify additional parameters that are defined by the respective validation function.

  4. Under Message, enter a text that is displayed for the checked component if the check of the component with the check function fails.

  5. Under Component, select at least one component to be checked with the check function by clicking on the Select component in view icon. If you want to check several components, select the corresponding components.

  6. Save the action after you have completed your work on the action.

If you would like to extend the validation function with plug-ins, you can find more details on the API at: API for validators in edoc automate