Connectors

Variable Connector

The Variable connector lets you store and retrieve flow and user attributes as variables in your PingOne DaVinci flow.

Setup

Resources

For information and setup help, see the following:

Configuring the Variable connector

In DaVinci, add a Variable connector. For more information, see Adding a connector.

This connector doesn’t have a configuration at the environment level. You configure it in your flow instead.

Using the connector in a flow

Variables are values that can be read and modified during a flow. In DaVinci, variables allow users to track and adjust values within flows. They can be read and modified during a flow. Variables can be strings, Boolean values, numbers, or objects.

In a flow, variables can be used to track information and a variable’s value can be used to determine which nodes are run within the flow. Every variable has a context, which determines how widely its value is shared. There are three types of variables:

Flow Instance Variable

Persists only for a single execution of a flow. This is useful for storing things temporarily for an execution, such as if you want to store a particular value from one node to use it later in the flow.

Flow Variable

Persists across multiple executions of that flow. This is useful for storing common things that are shared across multiple executions of the same flow.

User Variable

A shadow user must be available in order to use this variable. This capability adds a value to the user’s details or userInfo in DaVinci.

The DaVinci Variable connector has several capabilities that allow you to manage flows, flow instances, and user variables used across flows and instances.

Capabilities

Flow Instance Variable

Add and update flow instance variable

Show details
Properties
saveVariables selectNameValueListColumn
Output Schema
output object
type object

Flow Variable

Add and update flow variable

Show details
Properties
saveFlowVariables selectNameValueListColumn
Output Schema
output object
type object

Flow Instance variable: Increment by N

Flow instance variables are local to the specific instance of a flow.

Show details
Properties
Local Variable Name textField
incrementCounter textField
Input Schema
default object
variable
incrementCounter
Output Schema
output object
newValue number

User Variable

Add and update user variables used across flows and flow instances.

Show details
Properties
saveVariables selectNameValueListColumn
Output Schema
output object
type object

User variable: Increment by N

If the user is known, variables can contain user context across flows and flow instances.

Show details
Properties
Local Variable Name textField
incrementCounter textField
Input Schema
default object
variable
incrementCounter
Output Schema
output object
newValue number