Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Workflow configurations may be designed, configured, and saved step-by-step, but are still not valid for activation until fully configured and valid. A valid workflow configuration contains three types of configuration data:

  • Workflow data: General information related to the workflow configuration, for instance, error handling.

  • Workflow structure data: Contains the agents and routes. A route indicates the flow of data depending on the name of the route and the internal behavior of its source agent.

  • Agent specific data: Each agent has a different behavior. Thus, each agent in the workflow configuration requires different configuration data in order to operate.

When a workflow is saved, it is silently validated and if some of its configuration is invalid or missing, a dialog will state this and ask whether to still save the workflow or not.

...

How Workflow Validation Works

When you click the Image Modified (Validate) button, the workflow configuration validation is started. The validation is done in two steps:

  1. Validation of the workflow configuration. If the workflow configuration is invalid, an

...

  1.  Information dialog is opened showing details, such as if configuration data or routes are missing, if referenced MIM resources are no longer available, or if configuration data in an agent is missing. The details can be changed by modifying the agent configuration, after clicking OK. If the workflow configuration is invalid the validation process ends there.
    Image Modified
    Example of an invalid workflow Information dialog
     

  2. If the workflow configuration is valid, the validation of the workflow table starts. The values in the table are validated according to each agent's specifications. There is also a check that values have been added for all cells in the per workflow columns. The result is presented in a validation dialog and possible workflow errors are indicated in the workflow table. You can view the validation message for a specific workflow by selecting the corresponding action in the pop-up menu. If none of the workflows in the workflow configuration are valid, you get a dialog saying none of the workflows are valid.

If it is not evident why the workflow(s) is erroneous, you can select one or more rows in the workflow table and then click on Validation Message to display a dialog with error message(s).

Image Removed

...

Note
title

Note!

External References are validated only during runtime.

...

There is a label at the top of the workflow template, to the right of the workflow template name, that indicates if the workflow configuration is valid or invalid.

Image RemovedImage Removed

...

For workflows, the workflow table for each row has the following symbols: 

  • Image Added

    Image Removed

     which indicates that the workflow and related fields in that row are valid

  • Image RemovedImage Added

     which indicates that the workflow and related values for the configuration in that row are invalid

For example, data type can be invalid (if there are words in a numeric value only field), or a mandatory field could be empty.

You can also tell if a workflow is invalid in the Configuration Browser in the Build view if the workflow configuration name is RED in color.

Image Removed

...