DaVinci Admin Variables
The PingOne DaVinci Admin Variables service provides endpoints to create, read, update, and delete DaVinci variables. Variables are values that can be read and modified during a flow. Every variable has a context, which determines how widely its value is shared.
The options for the variable’s context types are:
-
flowThe variable is tied to a specific flow and has a single, persistent value until that value is changed.
-
flowInstanceThe variable can be used in multiple flows.
-
If the variable’s value is set within a flow, the variable instance in that flow gets the value set by the flow’s execution.
-
If the variable’s value is not set within a flow, the variable instance in that flow inherits the value.
-
-
userThe variable has a separate value for each user. If you use a variable with this context in a flow, the user must be identified.
-
companyThe variable has a single value for the company. This value is used in all flows and for all users.
DaVinci Admin variable data model properties
| Property | Type? | Required? | Mutable? | Description |
|---|---|---|---|---|
|
Date |
N/A |
Read only |
The time when the variable was created. |
|
String |
Required |
Immutable |
The context or type of the variable. Options are |
|
String |
Required |
Mutable |
Data type of the variable. Can be |
|
String |
Optional |
Mutable |
A human-readable variable name set in the request. |
|
Object |
N/A |
Read only |
The DaVinci company ID (environment ID) object. |
|
String |
N/A |
Read only |
The DaVinci company ID, which is the PingOne environment ID. |
|
Object |
Immutable |
Optional |
The flow object specifying the DaVinci flow associated with the variable. This is a required property when |
|
String |
Immutable |
Optional |
The flow ID of the DaVinci flow associated with the variable. This is a required property when |
|
String |
N/A |
Read only |
The variable ID. |
|
Integer |
Optional |
Mutable |
The maximum value of the variable. The default value is 2000. |
|
Integer |
Optional |
Mutable |
The minimum value of the variable. The default value is 0. |
|
Boolean |
Optional |
Mutable |
Specifies whether the variable is mutable, which allows nodes within a flow to change the value of the variable. If the |
|
String |
Required |
Immutable |
The variable name. |
|
Date |
N/A |
Read only |
The time when the variable was modified. |
|
String/Number/Boolean/Object |
Optional |
Mutable |
An internally stored value that is part of a HashMap/Object. If the |
Limiting and filtering data
These SCIM operators can be applied to the following attributes:
-
eq(equals)Supports attributes of type
STRINGandBOOLEAN. -
sw(starts with)Supports attributes of type
STRING. -
ew(ends with)Supports attributes of type
STRING. -
co(contains)Supports attributes of type
STRING. -
and(logical AND)Logical AND for building compound expressions in which both expressions are true.
-
or(logical OR)Logical OR for building compound expressions if either expression is true.
For information about paging and ordering the response for Read All DaVinci Variables, refer to Paging, ordering, and filtering collections.
Response codes
| Code | Message |
|---|---|
200 |
Successful operation. |
201 |
Successfully created. |
204 |
Successfully removed. No content. |
400 |
The request could not be completed. |
401 |
You do not have access to this resource. |
403 |
You do not have permissions or are not licensed to make this request. |
404 |
The requested resource was not found. |