PingOne DaVinci

Validating a flow (early access)

Validate a flow to automatically search for problems within the flow. These problems fall into one of two categories:

  • Error: A problem that will prevent the flow from completing successfully and must be fixed before you deploy the flow.

  • Warning: A problem that won’t prevent the flow from completing successfully, but could make it difficult to understand or update the flow.

To validate a flow:

Steps

  1. In DaVinci, on the Flows tab, locate and open the flow.

  2. Click Validate Flow.

    If the flow has errors or warnings, the top of the center pane displays one of the following:

    • View X Error(s): Displays if the flow has one or more errors.

    • View X Warning(s): Displays if the flow has no errors but one or more warnings.

    A screenshot showing a flow with errors and warnings marked.

  3. Click View X Error(s) or View X Warning(s).

    The Error Validation pane displays.

  4. Select Show Warnings to include warnings in the display.

  5. For each error or warning, read the description to understand how to fix the issue. Click View Error or View Warning to highlight the node containing the issue.

  6. Click Save.

Flow Validation Rules

Errors

The following errors can be identified by flow validation:

Error Description

Flow is empty

The flow does not contain any nodes.

Flow has multiple start points or a floating node

There are multiple nodes that could act as starting points for the flow.

Disabled node found

The flow contains one or more disabled nodes, which can cause issues when a flow is run.

Subflow configuration error

The flow launches a subflow, but the subflow or subflow version are not valid.

Circular subflow dependency found

The flow launches a subflow, but that subflow launches the parent flow, creating an infinite loop.

Unused variable found

A flow instance variable is defined by a variable connector but is not used in the flow.

Undefined variable found

A variable that is not defined in the flow is being referenced.

Subflow input schema missing

The flow launches a subflow, but the flow conductor node does not provide one or more values that are required by the subflow input schema.

Incorrect ending nodes for PingOne flow

The flow is a PingOne flow, but it includes branches that do not conclude with a PingOne Authentication connector node using either the Return Success Response (Redirect Flows) capability or the Return Error Response (Redirect Flows) capability.

Form not selected

The flow includes a Forms connector node that doesn’t have a form selected.

Connector capability not configured

The flow contains a node that does not have a selected capability.

Referenced node in local variable doesn’t exist

The flow contains a node that references a value from an unavailable node ID.

Warnings

The following warnings can be identified by flow validation:

Error Description

Log level set to Debug

The log level for the flow is set to Debug. You should only use this log level if you are actively troubleshooting an issue. Learn more in Editing flow settings.

Missing node title

A node has no title, which makes identifying the node challenging.

Missing node description

A node has no description, which makes identifying the node’s purpose challenging.

Incorrect node color

A Send Success Response or Send Error Response node does not have the recommended node color. Using a consistent color for these nodes makes it easier to identify the flow’s endpoints.