Versions Compared

Key

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

Introduction

Workflows must be valid in order to be deployed. This page covers how to identify invalid workflows and view the validation errors associated with them, as well as how to resolve validation errors.

Anchor
validation-errors
validation-errors
Validation Errors

This section covers how to identify invalid workflows and view the validation errors associated with invalid workflows.

For new projects, invalid items are highlighted by default on the design canvas, with the default selection of Highlight Invalid Items. To turn off this option, clear this selection:

Image RemovedImage Added

This view can also be toggled on using the Invalid filter in the Components tab of the project pane to filter on invalid items.

When this display option is selected, the names of invalid workflows appear in italics and the color red in the Workflows tab of the project pane:

Image RemovedImage Added

In addition, if the workflow is invalid due to an implicit error with the workflow, an error icon  is displayed to the left of the workflow name. When clicked, a message displays the validation errors for the workflow. For information on possible errors, see Validation Rules, next.

The error icon  does not display if the reason the workflow is invalid is because it contains other components with implicit errors. For example, a workflow may be invalid because it contains operations that are invalid.

Anchor
validity-rules
validity-rules
Validation Rules

Certain validation rules must be followed for workflows to be deployed to the Harmony cloud and for operations within them to be executed on Harmony agents. These rules ensure that all parts of a project are supported and expected by the agent. The rules for workflows are detailed as follows.

Workflows Must Be Valid

In order for a workflow to be valid, all of the operations it contains must be valid. If this rule is not met, this validation error message will be returned:

Workflow contains invalid operations.

Operations can be invalid for a number of reasons. To resolve this error, resolve operation validation errors for all operations contained within the workflow, as detailed in Operation Validity.

In addition, if a workflow is invalid for some other reason that cannot be readily determined, this error message will be returned:

Workflow is invalid.

To resolve, try referencing the documentation on Workflow Creation and Design.

Panel
borderColor#65379B
titleColor#FFFFFF
titleBGColor#65379B
titleOn This Page
Table of Content Zone

Table of Contents
maxLevel3
minLevel2

Panel
borderColor#FF7C4C
titleColor#FFFFFF
titleBGColor#FF7C4C
titleRelated Articles
Panel
borderColor#00B886
titleColor#FFFFFF
titleBGColor#00B886
titleRelated Topics

HideElements
metastrue

Last updated: 

Lastmodifieddate