PingOne Platform APIs

Import DaVinci Legacy Flow

 

POST {{apiPath}}/environments/{{envID}}/flows

The POST {{apiPath}}/environments/{{envID}}/flows endpoint imports an existing DaVinci legacy flow when the Content-Type header is set to application/vnd.pingidentity.flowversion.import.legacy+json. The flowInfo property in the request body specifies the flow definition for the import operation.

The import action supports two custom content types, one for the current DaVinci flow data model and one for the DaVinci legacy data model. The custom Content-Type header in this example applies to legacy flows in which the payload of the body adheres to the data model defined by DaVinci legacy endpoints.

Request Model
Property Type Required?

name

String

Required

description

String

Optional

flowInfo

Object

Required

flowNameMapping

Object

Required

Refer to the DaVinci Admin Flows data model for full property descriptions.

Headers

Authorization      Bearer {{accessToken}}

Content-Type      application/vnd.pingidentity.flow.import.legacy+json

Body

raw ( application/vnd.pingidentity.flow.import.legacy+json )

{
    "name": "Imported Legacy Flow {{$timestamp}}",
    "description": "Flow imported",
    "flowInfo": {
        "customerId": "{{customerID}}",
        "flowStatus": "enabled",
        "currentVersion": 13,
        "publishedVersion": 13,
        "name": "Imported-Legacy-Flow-{{$timestamp}}",
        "description": "Example flow. ",
        "createdDate": 1647897800283,
        "updatedDate": 1647897801115,
        "authTokenExpireIds": [],
        "deployedDate": 1647897801114,
        "functionConnectionId": null,
        "inputSchemaCompiled": {
            "parameters": {
                "type": "object",
                "properties": {},
                "additionalProperties": false,
                "required": []
            }
        },
        "isInputSchemaSaved": false,
        "isOutputSchemaSaved": false,
        "outputSchemaCompiled": null,
        "settings": {
            "csp": "worker-src 'self' blob:; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval';",
            "intermediateLoadingScreenCSS": "",
            "intermediateLoadingScreenHTML": "",
            "css": "body, .page {\n  background-color: #ededed !important;\n}\n\n.buttonLink {\n  background: none !important;\n  border: none;\n  cursor: pointer;\n  color: #2996cc;\n  font-size: 15px;\n}",
            "useCustomCSS": true,
            "cssLinks": [
                "https://assets.pingone.com/ux/end-user/1.7.0/end-user.css"
            ],
            "debugMode": true
        },
        "timeouts": null,
        "flowId": "c3f7a8ccfede0a5dde03ee171abce1a5",
        "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb",
        "versionId": 13,
        "graphData": {...Too much data to list here. See response.
        },
        "inputSchema": [],
        "flowColor": "#CACED3",
        "connectorIds": [
            "functionsConnector",
            "pingOneSSOConnector",
            "httpConnector",
            "variablesConnector"
        ],
        "savedDate": 1647897800198,
        "variables": [
            {
                "visibility": "private",
                "type": "property",
                "customerId": "420268aafd576ae4d0b0761f184339ca",
                "fields": {
                    "type": "string",
                    "displayName": "simulate agreement button selection",
                    "value": "Accept",
                    "mutable": true,
                    "min": 0,
                    "max": 2000
                },
                "context": "flowInstance",
                "createdDate": 1647015539653,
                "name": "buttonValue##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            },
            {
                "visibility": "private",
                "type": "property",
                "fields": {
                    "type": "string",
                    "displayName": "",
                    "value": "2dac0183-b5db-441a-88cd-a4651b32935f",
                    "mutable": true,
                    "min": 0,
                    "max": 2000
                },
                "context": "flowInstance",
                "createdDate": 1644082507291,
                "name": "registrationAgreementId##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            },
            {
                "visibility": "private",
                "type": "property",
                "fields": {
                    "type": "string",
                    "displayName": "",
                    "mutable": true,
                    "min": 0,
                    "max": 2000,
                    "value": "4d1fffc6-9404-4eaf-81db-52b741e36746"
                },
                "context": "flowInstance",
                "createdDate": 1644082507292,
                "name": "registrationPopulationId##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            },
            {
                "visibility": "private",
                "type": "property",
                "customerId": "420268aafd576ae4d0b0761f184339ca",
                "fields": {
                    "type": "string",
                    "displayName": "",
                    "value": "2FederateM0re!",
                    "mutable": true,
                    "min": 0,
                    "max": 2000
                },
                "context": "flowInstance",
                "createdDate": 1647017713536,
                "name": "testPW##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            }
        ]
    }
}

Example Request

  • cURL

  • C#

  • Go

  • HTTP

  • Java

  • jQuery

  • NodeJS

  • Python

  • PHP

  • Ruby

  • Swift

curl --location --globoff '{{apiPath}}/environments/{{envID}}/flows' \
--header 'Content-Type: application/vnd.pingidentity.flow.import.legacy+json' \
--header 'Authorization: Bearer {{accessToken}}' \
--data '{
    "name": "Imported Legacy Flow {{$timestamp}}",
    "description": "Flow imported",
    "flowInfo": {
        "customerId": "{{customerID}}",
        "flowStatus": "enabled",
        "currentVersion": 13,
        "publishedVersion": 13,
        "name": "Imported-Legacy-Flow-{{$timestamp}}",
        "description": "Example flow. ",
        "createdDate": 1647897800283,
        "updatedDate": 1647897801115,
        "authTokenExpireIds": [],
        "deployedDate": 1647897801114,
        "functionConnectionId": null,
        "inputSchemaCompiled": {
            "parameters": {
                "type": "object",
                "properties": {},
                "additionalProperties": false,
                "required": []
            }
        },
        "isInputSchemaSaved": false,
        "isOutputSchemaSaved": false,
        "outputSchemaCompiled": null,
        "settings": {
            "csp": "worker-src '\''self'\'' blob:; script-src '\''self'\'' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com '\''unsafe-inline'\'' '\''unsafe-eval'\'';",
            "intermediateLoadingScreenCSS": "",
            "intermediateLoadingScreenHTML": "",
            "css": "body, .page {\n  background-color: #ededed !important;\n}\n\n.buttonLink {\n  background: none !important;\n  border: none;\n  cursor: pointer;\n  color: #2996cc;\n  font-size: 15px;\n}",
            "useCustomCSS": true,
            "cssLinks": [
                "https://assets.pingone.com/ux/end-user/1.7.0/end-user.css"
            ],
            "debugMode": true
        },
        "timeouts": null,
        "flowId": "c3f7a8ccfede0a5dde03ee171abce1a5",
        "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb",
        "versionId": 13,
        "graphData": {...Too much data to list here. See response.
        },
        "inputSchema": [],
        "flowColor": "#CACED3",
        "connectorIds": [
            "functionsConnector",
            "pingOneSSOConnector",
            "httpConnector",
            "variablesConnector"
        ],
        "savedDate": 1647897800198,
        "variables": [
            {
                "visibility": "private",
                "type": "property",
                "customerId": "420268aafd576ae4d0b0761f184339ca",
                "fields": {
                    "type": "string",
                    "displayName": "simulate agreement button selection",
                    "value": "Accept",
                    "mutable": true,
                    "min": 0,
                    "max": 2000
                },
                "context": "flowInstance",
                "createdDate": 1647015539653,
                "name": "buttonValue##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            },
            {
                "visibility": "private",
                "type": "property",
                "fields": {
                    "type": "string",
                    "displayName": "",
                    "value": "2dac0183-b5db-441a-88cd-a4651b32935f",
                    "mutable": true,
                    "min": 0,
                    "max": 2000
                },
                "context": "flowInstance",
                "createdDate": 1644082507291,
                "name": "registrationAgreementId##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            },
            {
                "visibility": "private",
                "type": "property",
                "fields": {
                    "type": "string",
                    "displayName": "",
                    "mutable": true,
                    "min": 0,
                    "max": 2000,
                    "value": "4d1fffc6-9404-4eaf-81db-52b741e36746"
                },
                "context": "flowInstance",
                "createdDate": 1644082507292,
                "name": "registrationPopulationId##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            },
            {
                "visibility": "private",
                "type": "property",
                "customerId": "420268aafd576ae4d0b0761f184339ca",
                "fields": {
                    "type": "string",
                    "displayName": "",
                    "value": "2FederateM0re!",
                    "mutable": true,
                    "min": 0,
                    "max": 2000
                },
                "context": "flowInstance",
                "createdDate": 1647017713536,
                "name": "testPW##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            }
        ]
    }
}'
var options = new RestClientOptions("{{apiPath}}/environments/{{envID}}/flows")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("", Method.Post);
request.AddHeader("Content-Type", "application/vnd.pingidentity.flow.import.legacy+json");
request.AddHeader("Authorization", "Bearer {{accessToken}}");
var body = @"{" + "\n" +
@"    ""name"": ""Imported Legacy Flow {{$timestamp}}""," + "\n" +
@"    ""description"": ""Flow imported""," + "\n" +
@"    ""flowInfo"": {" + "\n" +
@"        ""customerId"": ""{{customerID}}""," + "\n" +
@"        ""flowStatus"": ""enabled""," + "\n" +
@"        ""currentVersion"": 13," + "\n" +
@"        ""publishedVersion"": 13," + "\n" +
@"        ""name"": ""Imported-Legacy-Flow-{{$timestamp}}""," + "\n" +
@"        ""description"": ""Example flow. ""," + "\n" +
@"        ""createdDate"": 1647897800283," + "\n" +
@"        ""updatedDate"": 1647897801115," + "\n" +
@"        ""authTokenExpireIds"": []," + "\n" +
@"        ""deployedDate"": 1647897801114," + "\n" +
@"        ""functionConnectionId"": null," + "\n" +
@"        ""inputSchemaCompiled"": {" + "\n" +
@"            ""parameters"": {" + "\n" +
@"                ""type"": ""object""," + "\n" +
@"                ""properties"": {}," + "\n" +
@"                ""additionalProperties"": false," + "\n" +
@"                ""required"": []" + "\n" +
@"            }" + "\n" +
@"        }," + "\n" +
@"        ""isInputSchemaSaved"": false," + "\n" +
@"        ""isOutputSchemaSaved"": false," + "\n" +
@"        ""outputSchemaCompiled"": null," + "\n" +
@"        ""settings"": {" + "\n" +
@"            ""csp"": ""worker-src 'self' blob:; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval';""," + "\n" +
@"            ""intermediateLoadingScreenCSS"": """"," + "\n" +
@"            ""intermediateLoadingScreenHTML"": """"," + "\n" +
@"            ""css"": ""body, .page {\n  background-color: #ededed !important;\n}\n\n.buttonLink {\n  background: none !important;\n  border: none;\n  cursor: pointer;\n  color: #2996cc;\n  font-size: 15px;\n}""," + "\n" +
@"            ""useCustomCSS"": true," + "\n" +
@"            ""cssLinks"": [" + "\n" +
@"                ""https://assets.pingone.com/ux/end-user/1.7.0/end-user.css""" + "\n" +
@"            ]," + "\n" +
@"            ""debugMode"": true" + "\n" +
@"        }," + "\n" +
@"        ""timeouts"": null," + "\n" +
@"        ""flowId"": ""c3f7a8ccfede0a5dde03ee171abce1a5""," + "\n" +
@"        ""companyId"": ""d5e7d501-85ac-469b-a541-132c97e5dfeb""," + "\n" +
@"        ""versionId"": 13," + "\n" +
@"        ""graphData"": {...Too much data to list here. See response." + "\n" +
@"        }," + "\n" +
@"        ""inputSchema"": []," + "\n" +
@"        ""flowColor"": ""#CACED3""," + "\n" +
@"        ""connectorIds"": [" + "\n" +
@"            ""functionsConnector""," + "\n" +
@"            ""pingOneSSOConnector""," + "\n" +
@"            ""httpConnector""," + "\n" +
@"            ""variablesConnector""" + "\n" +
@"        ]," + "\n" +
@"        ""savedDate"": 1647897800198," + "\n" +
@"        ""variables"": [" + "\n" +
@"            {" + "\n" +
@"                ""visibility"": ""private""," + "\n" +
@"                ""type"": ""property""," + "\n" +
@"                ""customerId"": ""420268aafd576ae4d0b0761f184339ca""," + "\n" +
@"                ""fields"": {" + "\n" +
@"                    ""type"": ""string""," + "\n" +
@"                    ""displayName"": ""simulate agreement button selection""," + "\n" +
@"                    ""value"": ""Accept""," + "\n" +
@"                    ""mutable"": true," + "\n" +
@"                    ""min"": 0," + "\n" +
@"                    ""max"": 2000" + "\n" +
@"                }," + "\n" +
@"                ""context"": ""flowInstance""," + "\n" +
@"                ""createdDate"": 1647015539653," + "\n" +
@"                ""name"": ""buttonValue##SK##flowInstance""," + "\n" +
@"                ""companyId"": ""d5e7d501-85ac-469b-a541-132c97e5dfeb""" + "\n" +
@"            }," + "\n" +
@"            {" + "\n" +
@"                ""visibility"": ""private""," + "\n" +
@"                ""type"": ""property""," + "\n" +
@"                ""fields"": {" + "\n" +
@"                    ""type"": ""string""," + "\n" +
@"                    ""displayName"": """"," + "\n" +
@"                    ""value"": ""2dac0183-b5db-441a-88cd-a4651b32935f""," + "\n" +
@"                    ""mutable"": true," + "\n" +
@"                    ""min"": 0," + "\n" +
@"                    ""max"": 2000" + "\n" +
@"                }," + "\n" +
@"                ""context"": ""flowInstance""," + "\n" +
@"                ""createdDate"": 1644082507291," + "\n" +
@"                ""name"": ""registrationAgreementId##SK##flowInstance""," + "\n" +
@"                ""companyId"": ""d5e7d501-85ac-469b-a541-132c97e5dfeb""" + "\n" +
@"            }," + "\n" +
@"            {" + "\n" +
@"                ""visibility"": ""private""," + "\n" +
@"                ""type"": ""property""," + "\n" +
@"                ""fields"": {" + "\n" +
@"                    ""type"": ""string""," + "\n" +
@"                    ""displayName"": """"," + "\n" +
@"                    ""mutable"": true," + "\n" +
@"                    ""min"": 0," + "\n" +
@"                    ""max"": 2000," + "\n" +
@"                    ""value"": ""4d1fffc6-9404-4eaf-81db-52b741e36746""" + "\n" +
@"                }," + "\n" +
@"                ""context"": ""flowInstance""," + "\n" +
@"                ""createdDate"": 1644082507292," + "\n" +
@"                ""name"": ""registrationPopulationId##SK##flowInstance""," + "\n" +
@"                ""companyId"": ""d5e7d501-85ac-469b-a541-132c97e5dfeb""" + "\n" +
@"            }," + "\n" +
@"            {" + "\n" +
@"                ""visibility"": ""private""," + "\n" +
@"                ""type"": ""property""," + "\n" +
@"                ""customerId"": ""420268aafd576ae4d0b0761f184339ca""," + "\n" +
@"                ""fields"": {" + "\n" +
@"                    ""type"": ""string""," + "\n" +
@"                    ""displayName"": """"," + "\n" +
@"                    ""value"": ""2FederateM0re!""," + "\n" +
@"                    ""mutable"": true," + "\n" +
@"                    ""min"": 0," + "\n" +
@"                    ""max"": 2000" + "\n" +
@"                }," + "\n" +
@"                ""context"": ""flowInstance""," + "\n" +
@"                ""createdDate"": 1647017713536," + "\n" +
@"                ""name"": ""testPW##SK##flowInstance""," + "\n" +
@"                ""companyId"": ""d5e7d501-85ac-469b-a541-132c97e5dfeb""" + "\n" +
@"            }" + "\n" +
@"        ]" + "\n" +
@"    }" + "\n" +
@"}";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io"
)

func main() {

  url := "{{apiPath}}/environments/{{envID}}/flows"
  method := "POST"

  payload := strings.NewReader(`{
    "name": "Imported Legacy Flow {{$timestamp}}",
    "description": "Flow imported",
    "flowInfo": {
        "customerId": "{{customerID}}",
        "flowStatus": "enabled",
        "currentVersion": 13,
        "publishedVersion": 13,
        "name": "Imported-Legacy-Flow-{{$timestamp}}",
        "description": "Example flow. ",
        "createdDate": 1647897800283,
        "updatedDate": 1647897801115,
        "authTokenExpireIds": [],
        "deployedDate": 1647897801114,
        "functionConnectionId": null,
        "inputSchemaCompiled": {
            "parameters": {
                "type": "object",
                "properties": {},
                "additionalProperties": false,
                "required": []
            }
        },
        "isInputSchemaSaved": false,
        "isOutputSchemaSaved": false,
        "outputSchemaCompiled": null,
        "settings": {
            "csp": "worker-src 'self' blob:; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval';",
            "intermediateLoadingScreenCSS": "",
            "intermediateLoadingScreenHTML": "",
            "css": "body, .page {\n  background-color: #ededed !important;\n}\n\n.buttonLink {\n  background: none !important;\n  border: none;\n  cursor: pointer;\n  color: #2996cc;\n  font-size: 15px;\n}",
            "useCustomCSS": true,
            "cssLinks": [
                "https://assets.pingone.com/ux/end-user/1.7.0/end-user.css"
            ],
            "debugMode": true
        },
        "timeouts": null,
        "flowId": "c3f7a8ccfede0a5dde03ee171abce1a5",
        "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb",
        "versionId": 13,
        "graphData": {...Too much data to list here. See response.
        },
        "inputSchema": [],
        "flowColor": "#CACED3",
        "connectorIds": [
            "functionsConnector",
            "pingOneSSOConnector",
            "httpConnector",
            "variablesConnector"
        ],
        "savedDate": 1647897800198,
        "variables": [
            {
                "visibility": "private",
                "type": "property",
                "customerId": "420268aafd576ae4d0b0761f184339ca",
                "fields": {
                    "type": "string",
                    "displayName": "simulate agreement button selection",
                    "value": "Accept",
                    "mutable": true,
                    "min": 0,
                    "max": 2000
                },
                "context": "flowInstance",
                "createdDate": 1647015539653,
                "name": "buttonValue##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            },
            {
                "visibility": "private",
                "type": "property",
                "fields": {
                    "type": "string",
                    "displayName": "",
                    "value": "2dac0183-b5db-441a-88cd-a4651b32935f",
                    "mutable": true,
                    "min": 0,
                    "max": 2000
                },
                "context": "flowInstance",
                "createdDate": 1644082507291,
                "name": "registrationAgreementId##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            },
            {
                "visibility": "private",
                "type": "property",
                "fields": {
                    "type": "string",
                    "displayName": "",
                    "mutable": true,
                    "min": 0,
                    "max": 2000,
                    "value": "4d1fffc6-9404-4eaf-81db-52b741e36746"
                },
                "context": "flowInstance",
                "createdDate": 1644082507292,
                "name": "registrationPopulationId##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            },
            {
                "visibility": "private",
                "type": "property",
                "customerId": "420268aafd576ae4d0b0761f184339ca",
                "fields": {
                    "type": "string",
                    "displayName": "",
                    "value": "2FederateM0re!",
                    "mutable": true,
                    "min": 0,
                    "max": 2000
                },
                "context": "flowInstance",
                "createdDate": 1647017713536,
                "name": "testPW##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            }
        ]
    }
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/vnd.pingidentity.flow.import.legacy+json")
  req.Header.Add("Authorization", "Bearer {{accessToken}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := io.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
POST /environments/{{envID}}/flows HTTP/1.1
Host: {{apiPath}}
Content-Type: application/vnd.pingidentity.flow.import.legacy+json
Authorization: Bearer {{accessToken}}

{
    "name": "Imported Legacy Flow {{$timestamp}}",
    "description": "Flow imported",
    "flowInfo": {
        "customerId": "{{customerID}}",
        "flowStatus": "enabled",
        "currentVersion": 13,
        "publishedVersion": 13,
        "name": "Imported-Legacy-Flow-{{$timestamp}}",
        "description": "Example flow. ",
        "createdDate": 1647897800283,
        "updatedDate": 1647897801115,
        "authTokenExpireIds": [],
        "deployedDate": 1647897801114,
        "functionConnectionId": null,
        "inputSchemaCompiled": {
            "parameters": {
                "type": "object",
                "properties": {},
                "additionalProperties": false,
                "required": []
            }
        },
        "isInputSchemaSaved": false,
        "isOutputSchemaSaved": false,
        "outputSchemaCompiled": null,
        "settings": {
            "csp": "worker-src 'self' blob:; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval';",
            "intermediateLoadingScreenCSS": "",
            "intermediateLoadingScreenHTML": "",
            "css": "body, .page {\n  background-color: #ededed !important;\n}\n\n.buttonLink {\n  background: none !important;\n  border: none;\n  cursor: pointer;\n  color: #2996cc;\n  font-size: 15px;\n}",
            "useCustomCSS": true,
            "cssLinks": [
                "https://assets.pingone.com/ux/end-user/1.7.0/end-user.css"
            ],
            "debugMode": true
        },
        "timeouts": null,
        "flowId": "c3f7a8ccfede0a5dde03ee171abce1a5",
        "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb",
        "versionId": 13,
        "graphData": {...Too much data to list here. See response.
        },
        "inputSchema": [],
        "flowColor": "#CACED3",
        "connectorIds": [
            "functionsConnector",
            "pingOneSSOConnector",
            "httpConnector",
            "variablesConnector"
        ],
        "savedDate": 1647897800198,
        "variables": [
            {
                "visibility": "private",
                "type": "property",
                "customerId": "420268aafd576ae4d0b0761f184339ca",
                "fields": {
                    "type": "string",
                    "displayName": "simulate agreement button selection",
                    "value": "Accept",
                    "mutable": true,
                    "min": 0,
                    "max": 2000
                },
                "context": "flowInstance",
                "createdDate": 1647015539653,
                "name": "buttonValue##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            },
            {
                "visibility": "private",
                "type": "property",
                "fields": {
                    "type": "string",
                    "displayName": "",
                    "value": "2dac0183-b5db-441a-88cd-a4651b32935f",
                    "mutable": true,
                    "min": 0,
                    "max": 2000
                },
                "context": "flowInstance",
                "createdDate": 1644082507291,
                "name": "registrationAgreementId##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            },
            {
                "visibility": "private",
                "type": "property",
                "fields": {
                    "type": "string",
                    "displayName": "",
                    "mutable": true,
                    "min": 0,
                    "max": 2000,
                    "value": "4d1fffc6-9404-4eaf-81db-52b741e36746"
                },
                "context": "flowInstance",
                "createdDate": 1644082507292,
                "name": "registrationPopulationId##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            },
            {
                "visibility": "private",
                "type": "property",
                "customerId": "420268aafd576ae4d0b0761f184339ca",
                "fields": {
                    "type": "string",
                    "displayName": "",
                    "value": "2FederateM0re!",
                    "mutable": true,
                    "min": 0,
                    "max": 2000
                },
                "context": "flowInstance",
                "createdDate": 1647017713536,
                "name": "testPW##SK##flowInstance",
                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"
            }
        ]
    }
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/vnd.pingidentity.flow.import.legacy+json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"name\": \"Imported Legacy Flow {{$timestamp}}\",\n    \"description\": \"Flow imported\",\n    \"flowInfo\": {\n        \"customerId\": \"{{customerID}}\",\n        \"flowStatus\": \"enabled\",\n        \"currentVersion\": 13,\n        \"publishedVersion\": 13,\n        \"name\": \"Imported-Legacy-Flow-{{$timestamp}}\",\n        \"description\": \"Example flow. \",\n        \"createdDate\": 1647897800283,\n        \"updatedDate\": 1647897801115,\n        \"authTokenExpireIds\": [],\n        \"deployedDate\": 1647897801114,\n        \"functionConnectionId\": null,\n        \"inputSchemaCompiled\": {\n            \"parameters\": {\n                \"type\": \"object\",\n                \"properties\": {},\n                \"additionalProperties\": false,\n                \"required\": []\n            }\n        },\n        \"isInputSchemaSaved\": false,\n        \"isOutputSchemaSaved\": false,\n        \"outputSchemaCompiled\": null,\n        \"settings\": {\n            \"csp\": \"worker-src 'self' blob:; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval';\",\n            \"intermediateLoadingScreenCSS\": \"\",\n            \"intermediateLoadingScreenHTML\": \"\",\n            \"css\": \"body, .page {\\n  background-color: #ededed !important;\\n}\\n\\n.buttonLink {\\n  background: none !important;\\n  border: none;\\n  cursor: pointer;\\n  color: #2996cc;\\n  font-size: 15px;\\n}\",\n            \"useCustomCSS\": true,\n            \"cssLinks\": [\n                \"https://assets.pingone.com/ux/end-user/1.7.0/end-user.css\"\n            ],\n            \"debugMode\": true\n        },\n        \"timeouts\": null,\n        \"flowId\": \"c3f7a8ccfede0a5dde03ee171abce1a5\",\n        \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\",\n        \"versionId\": 13,\n        \"graphData\": {...Too much data to list here. See response.\n        },\n        \"inputSchema\": [],\n        \"flowColor\": \"#CACED3\",\n        \"connectorIds\": [\n            \"functionsConnector\",\n            \"pingOneSSOConnector\",\n            \"httpConnector\",\n            \"variablesConnector\"\n        ],\n        \"savedDate\": 1647897800198,\n        \"variables\": [\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"customerId\": \"420268aafd576ae4d0b0761f184339ca\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"simulate agreement button selection\",\n                    \"value\": \"Accept\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1647015539653,\n                \"name\": \"buttonValue##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"value\": \"2dac0183-b5db-441a-88cd-a4651b32935f\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1644082507291,\n                \"name\": \"registrationAgreementId##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000,\n                    \"value\": \"4d1fffc6-9404-4eaf-81db-52b741e36746\"\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1644082507292,\n                \"name\": \"registrationPopulationId##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"customerId\": \"420268aafd576ae4d0b0761f184339ca\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"value\": \"2FederateM0re!\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1647017713536,\n                \"name\": \"testPW##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            }\n        ]\n    }\n}");
Request request = new Request.Builder()
  .url("{{apiPath}}/environments/{{envID}}/flows")
  .method("POST", body)
  .addHeader("Content-Type", "application/vnd.pingidentity.flow.import.legacy+json")
  .addHeader("Authorization", "Bearer {{accessToken}}")
  .build();
Response response = client.newCall(request).execute();
var settings = {
  "url": "{{apiPath}}/environments/{{envID}}/flows",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Content-Type": "application/vnd.pingidentity.flow.import.legacy+json",
    "Authorization": "Bearer {{accessToken}}"
  },
  "data": "{\n    \"name\": \"Imported Legacy Flow {{$timestamp}}\",\n    \"description\": \"Flow imported\",\n    \"flowInfo\": {\n        \"customerId\": \"{{customerID}}\",\n        \"flowStatus\": \"enabled\",\n        \"currentVersion\": 13,\n        \"publishedVersion\": 13,\n        \"name\": \"Imported-Legacy-Flow-{{$timestamp}}\",\n        \"description\": \"Example flow. \",\n        \"createdDate\": 1647897800283,\n        \"updatedDate\": 1647897801115,\n        \"authTokenExpireIds\": [],\n        \"deployedDate\": 1647897801114,\n        \"functionConnectionId\": null,\n        \"inputSchemaCompiled\": {\n            \"parameters\": {\n                \"type\": \"object\",\n                \"properties\": {},\n                \"additionalProperties\": false,\n                \"required\": []\n            }\n        },\n        \"isInputSchemaSaved\": false,\n        \"isOutputSchemaSaved\": false,\n        \"outputSchemaCompiled\": null,\n        \"settings\": {\n            \"csp\": \"worker-src 'self' blob:; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval';\",\n            \"intermediateLoadingScreenCSS\": \"\",\n            \"intermediateLoadingScreenHTML\": \"\",\n            \"css\": \"body, .page {\\n  background-color: #ededed !important;\\n}\\n\\n.buttonLink {\\n  background: none !important;\\n  border: none;\\n  cursor: pointer;\\n  color: #2996cc;\\n  font-size: 15px;\\n}\",\n            \"useCustomCSS\": true,\n            \"cssLinks\": [\n                \"https://assets.pingone.com/ux/end-user/1.7.0/end-user.css\"\n            ],\n            \"debugMode\": true\n        },\n        \"timeouts\": null,\n        \"flowId\": \"c3f7a8ccfede0a5dde03ee171abce1a5\",\n        \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\",\n        \"versionId\": 13,\n        \"graphData\": {...Too much data to list here. See response.\n        },\n        \"inputSchema\": [],\n        \"flowColor\": \"#CACED3\",\n        \"connectorIds\": [\n            \"functionsConnector\",\n            \"pingOneSSOConnector\",\n            \"httpConnector\",\n            \"variablesConnector\"\n        ],\n        \"savedDate\": 1647897800198,\n        \"variables\": [\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"customerId\": \"420268aafd576ae4d0b0761f184339ca\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"simulate agreement button selection\",\n                    \"value\": \"Accept\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1647015539653,\n                \"name\": \"buttonValue##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"value\": \"2dac0183-b5db-441a-88cd-a4651b32935f\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1644082507291,\n                \"name\": \"registrationAgreementId##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000,\n                    \"value\": \"4d1fffc6-9404-4eaf-81db-52b741e36746\"\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1644082507292,\n                \"name\": \"registrationPopulationId##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"customerId\": \"420268aafd576ae4d0b0761f184339ca\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"value\": \"2FederateM0re!\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1647017713536,\n                \"name\": \"testPW##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            }\n        ]\n    }\n}",
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
var request = require('request');
var options = {
  'method': 'POST',
  'url': '{{apiPath}}/environments/{{envID}}/flows',
  'headers': {
    'Content-Type': 'application/vnd.pingidentity.flow.import.legacy+json',
    'Authorization': 'Bearer {{accessToken}}'
  },
  body: '{\n    "name": "Imported Legacy Flow {{$timestamp}}",\n    "description": "Flow imported",\n    "flowInfo": {\n        "customerId": "{{customerID}}",\n        "flowStatus": "enabled",\n        "currentVersion": 13,\n        "publishedVersion": 13,\n        "name": "Imported-Legacy-Flow-{{$timestamp}}",\n        "description": "Example flow. ",\n        "createdDate": 1647897800283,\n        "updatedDate": 1647897801115,\n        "authTokenExpireIds": [],\n        "deployedDate": 1647897801114,\n        "functionConnectionId": null,\n        "inputSchemaCompiled": {\n            "parameters": {\n                "type": "object",\n                "properties": {},\n                "additionalProperties": false,\n                "required": []\n            }\n        },\n        "isInputSchemaSaved": false,\n        "isOutputSchemaSaved": false,\n        "outputSchemaCompiled": null,\n        "settings": {\n            "csp": "worker-src \'self\' blob:; script-src \'self\' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com \'unsafe-inline\' \'unsafe-eval\';",\n            "intermediateLoadingScreenCSS": "",\n            "intermediateLoadingScreenHTML": "",\n            "css": "body, .page {\\n  background-color: #ededed !important;\\n}\\n\\n.buttonLink {\\n  background: none !important;\\n  border: none;\\n  cursor: pointer;\\n  color: #2996cc;\\n  font-size: 15px;\\n}",\n            "useCustomCSS": true,\n            "cssLinks": [\n                "https://assets.pingone.com/ux/end-user/1.7.0/end-user.css"\n            ],\n            "debugMode": true\n        },\n        "timeouts": null,\n        "flowId": "c3f7a8ccfede0a5dde03ee171abce1a5",\n        "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb",\n        "versionId": 13,\n        "graphData": {...Too much data to list here. See response.\n        },\n        "inputSchema": [],\n        "flowColor": "#CACED3",\n        "connectorIds": [\n            "functionsConnector",\n            "pingOneSSOConnector",\n            "httpConnector",\n            "variablesConnector"\n        ],\n        "savedDate": 1647897800198,\n        "variables": [\n            {\n                "visibility": "private",\n                "type": "property",\n                "customerId": "420268aafd576ae4d0b0761f184339ca",\n                "fields": {\n                    "type": "string",\n                    "displayName": "simulate agreement button selection",\n                    "value": "Accept",\n                    "mutable": true,\n                    "min": 0,\n                    "max": 2000\n                },\n                "context": "flowInstance",\n                "createdDate": 1647015539653,\n                "name": "buttonValue##SK##flowInstance",\n                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"\n            },\n            {\n                "visibility": "private",\n                "type": "property",\n                "fields": {\n                    "type": "string",\n                    "displayName": "",\n                    "value": "2dac0183-b5db-441a-88cd-a4651b32935f",\n                    "mutable": true,\n                    "min": 0,\n                    "max": 2000\n                },\n                "context": "flowInstance",\n                "createdDate": 1644082507291,\n                "name": "registrationAgreementId##SK##flowInstance",\n                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"\n            },\n            {\n                "visibility": "private",\n                "type": "property",\n                "fields": {\n                    "type": "string",\n                    "displayName": "",\n                    "mutable": true,\n                    "min": 0,\n                    "max": 2000,\n                    "value": "4d1fffc6-9404-4eaf-81db-52b741e36746"\n                },\n                "context": "flowInstance",\n                "createdDate": 1644082507292,\n                "name": "registrationPopulationId##SK##flowInstance",\n                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"\n            },\n            {\n                "visibility": "private",\n                "type": "property",\n                "customerId": "420268aafd576ae4d0b0761f184339ca",\n                "fields": {\n                    "type": "string",\n                    "displayName": "",\n                    "value": "2FederateM0re!",\n                    "mutable": true,\n                    "min": 0,\n                    "max": 2000\n                },\n                "context": "flowInstance",\n                "createdDate": 1647017713536,\n                "name": "testPW##SK##flowInstance",\n                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"\n            }\n        ]\n    }\n}'

};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
import requests
import json

url = "{{apiPath}}/environments/{{envID}}/flows"

payload = "{\n    \"name\": \"Imported Legacy Flow {{$timestamp}}\",\n    \"description\": \"Flow imported\",\n    \"flowInfo\": {\n        \"customerId\": \"{{customerID}}\",\n        \"flowStatus\": \"enabled\",\n        \"currentVersion\": 13,\n        \"publishedVersion\": 13,\n        \"name\": \"Imported-Legacy-Flow-{{$timestamp}}\",\n        \"description\": \"Example flow. \",\n        \"createdDate\": 1647897800283,\n        \"updatedDate\": 1647897801115,\n        \"authTokenExpireIds\": [],\n        \"deployedDate\": 1647897801114,\n        \"functionConnectionId\": null,\n        \"inputSchemaCompiled\": {\n            \"parameters\": {\n                \"type\": \"object\",\n                \"properties\": {},\n                \"additionalProperties\": false,\n                \"required\": []\n            }\n        },\n        \"isInputSchemaSaved\": false,\n        \"isOutputSchemaSaved\": false,\n        \"outputSchemaCompiled\": null,\n        \"settings\": {\n            \"csp\": \"worker-src 'self' blob:; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval';\",\n            \"intermediateLoadingScreenCSS\": \"\",\n            \"intermediateLoadingScreenHTML\": \"\",\n            \"css\": \"body, .page {\\n  background-color: #ededed !important;\\n}\\n\\n.buttonLink {\\n  background: none !important;\\n  border: none;\\n  cursor: pointer;\\n  color: #2996cc;\\n  font-size: 15px;\\n}\",\n            \"useCustomCSS\": true,\n            \"cssLinks\": [\n                \"https://assets.pingone.com/ux/end-user/1.7.0/end-user.css\"\n            ],\n            \"debugMode\": true\n        },\n        \"timeouts\": null,\n        \"flowId\": \"c3f7a8ccfede0a5dde03ee171abce1a5\",\n        \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\",\n        \"versionId\": 13,\n        \"graphData\": {...Too much data to list here. See response.\n        },\n        \"inputSchema\": [],\n        \"flowColor\": \"#CACED3\",\n        \"connectorIds\": [\n            \"functionsConnector\",\n            \"pingOneSSOConnector\",\n            \"httpConnector\",\n            \"variablesConnector\"\n        ],\n        \"savedDate\": 1647897800198,\n        \"variables\": [\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"customerId\": \"420268aafd576ae4d0b0761f184339ca\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"simulate agreement button selection\",\n                    \"value\": \"Accept\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1647015539653,\n                \"name\": \"buttonValue##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"value\": \"2dac0183-b5db-441a-88cd-a4651b32935f\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1644082507291,\n                \"name\": \"registrationAgreementId##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000,\n                    \"value\": \"4d1fffc6-9404-4eaf-81db-52b741e36746\"\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1644082507292,\n                \"name\": \"registrationPopulationId##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"customerId\": \"420268aafd576ae4d0b0761f184339ca\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"value\": \"2FederateM0re!\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1647017713536,\n                \"name\": \"testPW##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            }\n        ]\n    }\n}"
headers = {
  'Content-Type': 'application/vnd.pingidentity.flow.import.legacy+json',
  'Authorization': 'Bearer {{accessToken}}'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{apiPath}}/environments/{{envID}}/flows');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/vnd.pingidentity.flow.import.legacy+json',
  'Authorization' => 'Bearer {{accessToken}}'
));
$request->setBody('{\n    "name": "Imported Legacy Flow {{$timestamp}}",\n    "description": "Flow imported",\n    "flowInfo": {\n        "customerId": "{{customerID}}",\n        "flowStatus": "enabled",\n        "currentVersion": 13,\n        "publishedVersion": 13,\n        "name": "Imported-Legacy-Flow-{{$timestamp}}",\n        "description": "Example flow. ",\n        "createdDate": 1647897800283,\n        "updatedDate": 1647897801115,\n        "authTokenExpireIds": [],\n        "deployedDate": 1647897801114,\n        "functionConnectionId": null,\n        "inputSchemaCompiled": {\n            "parameters": {\n                "type": "object",\n                "properties": {},\n                "additionalProperties": false,\n                "required": []\n            }\n        },\n        "isInputSchemaSaved": false,\n        "isOutputSchemaSaved": false,\n        "outputSchemaCompiled": null,\n        "settings": {\n            "csp": "worker-src \'self\' blob:; script-src \'self\' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com \'unsafe-inline\' \'unsafe-eval\';",\n            "intermediateLoadingScreenCSS": "",\n            "intermediateLoadingScreenHTML": "",\n            "css": "body, .page {\\n  background-color: #ededed !important;\\n}\\n\\n.buttonLink {\\n  background: none !important;\\n  border: none;\\n  cursor: pointer;\\n  color: #2996cc;\\n  font-size: 15px;\\n}",\n            "useCustomCSS": true,\n            "cssLinks": [\n                "https://assets.pingone.com/ux/end-user/1.7.0/end-user.css"\n            ],\n            "debugMode": true\n        },\n        "timeouts": null,\n        "flowId": "c3f7a8ccfede0a5dde03ee171abce1a5",\n        "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb",\n        "versionId": 13,\n        "graphData": {...Too much data to list here. See response.\n        },\n        "inputSchema": [],\n        "flowColor": "#CACED3",\n        "connectorIds": [\n            "functionsConnector",\n            "pingOneSSOConnector",\n            "httpConnector",\n            "variablesConnector"\n        ],\n        "savedDate": 1647897800198,\n        "variables": [\n            {\n                "visibility": "private",\n                "type": "property",\n                "customerId": "420268aafd576ae4d0b0761f184339ca",\n                "fields": {\n                    "type": "string",\n                    "displayName": "simulate agreement button selection",\n                    "value": "Accept",\n                    "mutable": true,\n                    "min": 0,\n                    "max": 2000\n                },\n                "context": "flowInstance",\n                "createdDate": 1647015539653,\n                "name": "buttonValue##SK##flowInstance",\n                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"\n            },\n            {\n                "visibility": "private",\n                "type": "property",\n                "fields": {\n                    "type": "string",\n                    "displayName": "",\n                    "value": "2dac0183-b5db-441a-88cd-a4651b32935f",\n                    "mutable": true,\n                    "min": 0,\n                    "max": 2000\n                },\n                "context": "flowInstance",\n                "createdDate": 1644082507291,\n                "name": "registrationAgreementId##SK##flowInstance",\n                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"\n            },\n            {\n                "visibility": "private",\n                "type": "property",\n                "fields": {\n                    "type": "string",\n                    "displayName": "",\n                    "mutable": true,\n                    "min": 0,\n                    "max": 2000,\n                    "value": "4d1fffc6-9404-4eaf-81db-52b741e36746"\n                },\n                "context": "flowInstance",\n                "createdDate": 1644082507292,\n                "name": "registrationPopulationId##SK##flowInstance",\n                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"\n            },\n            {\n                "visibility": "private",\n                "type": "property",\n                "customerId": "420268aafd576ae4d0b0761f184339ca",\n                "fields": {\n                    "type": "string",\n                    "displayName": "",\n                    "value": "2FederateM0re!",\n                    "mutable": true,\n                    "min": 0,\n                    "max": 2000\n                },\n                "context": "flowInstance",\n                "createdDate": 1647017713536,\n                "name": "testPW##SK##flowInstance",\n                "companyId": "d5e7d501-85ac-469b-a541-132c97e5dfeb"\n            }\n        ]\n    }\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
require "uri"
require "json"
require "net/http"

url = URI("{{apiPath}}/environments/{{envID}}/flows")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/vnd.pingidentity.flow.import.legacy+json"
request["Authorization"] = "Bearer {{accessToken}}"
request.body = "{\n    \"name\": \"Imported Legacy Flow {{\\$timestamp}}\",\n    \"description\": \"Flow imported\",\n    \"flowInfo\": {\n        \"customerId\": \"{{customerID}}\",\n        \"flowStatus\": \"enabled\",\n        \"currentVersion\": 13,\n        \"publishedVersion\": 13,\n        \"name\": \"Imported-Legacy-Flow-{{\\$timestamp}}\",\n        \"description\": \"Example flow. \",\n        \"createdDate\": 1647897800283,\n        \"updatedDate\": 1647897801115,\n        \"authTokenExpireIds\": [],\n        \"deployedDate\": 1647897801114,\n        \"functionConnectionId\": null,\n        \"inputSchemaCompiled\": {\n            \"parameters\": {\n                \"type\": \"object\",\n                \"properties\": {},\n                \"additionalProperties\": false,\n                \"required\": []\n            }\n        },\n        \"isInputSchemaSaved\": false,\n        \"isOutputSchemaSaved\": false,\n        \"outputSchemaCompiled\": null,\n        \"settings\": {\n            \"csp\": \"worker-src 'self' blob:; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval';\",\n            \"intermediateLoadingScreenCSS\": \"\",\n            \"intermediateLoadingScreenHTML\": \"\",\n            \"css\": \"body, .page {\\n  background-color: \\#ededed \\!important;\\n}\\n\\n.buttonLink {\\n  background: none \\!important;\\n  border: none;\\n  cursor: pointer;\\n  color: \\#2996cc;\\n  font-size: 15px;\\n}\",\n            \"useCustomCSS\": true,\n            \"cssLinks\": [\n                \"https://assets.pingone.com/ux/end-user/1.7.0/end-user.css\"\n            ],\n            \"debugMode\": true\n        },\n        \"timeouts\": null,\n        \"flowId\": \"c3f7a8ccfede0a5dde03ee171abce1a5\",\n        \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\",\n        \"versionId\": 13,\n        \"graphData\": {...Too much data to list here. See response.\n        },\n        \"inputSchema\": [],\n        \"flowColor\": \"\\#CACED3\",\n        \"connectorIds\": [\n            \"functionsConnector\",\n            \"pingOneSSOConnector\",\n            \"httpConnector\",\n            \"variablesConnector\"\n        ],\n        \"savedDate\": 1647897800198,\n        \"variables\": [\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"customerId\": \"420268aafd576ae4d0b0761f184339ca\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"simulate agreement button selection\",\n                    \"value\": \"Accept\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1647015539653,\n                \"name\": \"buttonValue\\#\\#SK\\#\\#flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"value\": \"2dac0183-b5db-441a-88cd-a4651b32935f\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1644082507291,\n                \"name\": \"registrationAgreementId\\#\\#SK\\#\\#flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000,\n                    \"value\": \"4d1fffc6-9404-4eaf-81db-52b741e36746\"\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1644082507292,\n                \"name\": \"registrationPopulationId\\#\\#SK\\#\\#flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"customerId\": \"420268aafd576ae4d0b0761f184339ca\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"value\": \"2FederateM0re\\!\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1647017713536,\n                \"name\": \"testPW\\#\\#SK\\#\\#flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            }\n        ]\n    }\n}"

response = http.request(request)
puts response.read_body
let parameters = "{\n    \"name\": \"Imported Legacy Flow {{$timestamp}}\",\n    \"description\": \"Flow imported\",\n    \"flowInfo\": {\n        \"customerId\": \"{{customerID}}\",\n        \"flowStatus\": \"enabled\",\n        \"currentVersion\": 13,\n        \"publishedVersion\": 13,\n        \"name\": \"Imported-Legacy-Flow-{{$timestamp}}\",\n        \"description\": \"Example flow. \",\n        \"createdDate\": 1647897800283,\n        \"updatedDate\": 1647897801115,\n        \"authTokenExpireIds\": [],\n        \"deployedDate\": 1647897801114,\n        \"functionConnectionId\": null,\n        \"inputSchemaCompiled\": {\n            \"parameters\": {\n                \"type\": \"object\",\n                \"properties\": {},\n                \"additionalProperties\": false,\n                \"required\": []\n            }\n        },\n        \"isInputSchemaSaved\": false,\n        \"isOutputSchemaSaved\": false,\n        \"outputSchemaCompiled\": null,\n        \"settings\": {\n            \"csp\": \"worker-src 'self' blob:; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval';\",\n            \"intermediateLoadingScreenCSS\": \"\",\n            \"intermediateLoadingScreenHTML\": \"\",\n            \"css\": \"body, .page {\\n  background-color: #ededed !important;\\n}\\n\\n.buttonLink {\\n  background: none !important;\\n  border: none;\\n  cursor: pointer;\\n  color: #2996cc;\\n  font-size: 15px;\\n}\",\n            \"useCustomCSS\": true,\n            \"cssLinks\": [\n                \"https://assets.pingone.com/ux/end-user/1.7.0/end-user.css\"\n            ],\n            \"debugMode\": true\n        },\n        \"timeouts\": null,\n        \"flowId\": \"c3f7a8ccfede0a5dde03ee171abce1a5\",\n        \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\",\n        \"versionId\": 13,\n        \"graphData\": {...Too much data to list here. See response.\n        },\n        \"inputSchema\": [],\n        \"flowColor\": \"#CACED3\",\n        \"connectorIds\": [\n            \"functionsConnector\",\n            \"pingOneSSOConnector\",\n            \"httpConnector\",\n            \"variablesConnector\"\n        ],\n        \"savedDate\": 1647897800198,\n        \"variables\": [\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"customerId\": \"420268aafd576ae4d0b0761f184339ca\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"simulate agreement button selection\",\n                    \"value\": \"Accept\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1647015539653,\n                \"name\": \"buttonValue##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"value\": \"2dac0183-b5db-441a-88cd-a4651b32935f\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1644082507291,\n                \"name\": \"registrationAgreementId##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000,\n                    \"value\": \"4d1fffc6-9404-4eaf-81db-52b741e36746\"\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1644082507292,\n                \"name\": \"registrationPopulationId##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            },\n            {\n                \"visibility\": \"private\",\n                \"type\": \"property\",\n                \"customerId\": \"420268aafd576ae4d0b0761f184339ca\",\n                \"fields\": {\n                    \"type\": \"string\",\n                    \"displayName\": \"\",\n                    \"value\": \"2FederateM0re!\",\n                    \"mutable\": true,\n                    \"min\": 0,\n                    \"max\": 2000\n                },\n                \"context\": \"flowInstance\",\n                \"createdDate\": 1647017713536,\n                \"name\": \"testPW##SK##flowInstance\",\n                \"companyId\": \"d5e7d501-85ac-469b-a541-132c97e5dfeb\"\n            }\n        ]\n    }\n}"
let postData = parameters.data(using: .utf8)

var request = URLRequest(url: URL(string: "{{apiPath}}/environments/{{envID}}/flows")!,timeoutInterval: Double.infinity)
request.addValue("application/vnd.pingidentity.flow.import.legacy+json", forHTTPHeaderField: "Content-Type")
request.addValue("Bearer {{accessToken}}", forHTTPHeaderField: "Authorization")

request.httpMethod = "POST"
request.httpBody = postData

let task = URLSession.shared.dataTask(with: request) { data, response, error in
  guard let data = data else {
    print(String(describing: error))
    return
  }
  print(String(data: data, encoding: .utf8)!)
}

task.resume()

Example Response

201 Created

{
    "flowInfo": {
        "currentVersion": 0,
        "authTokenExpireIds": [],
        "inputSchemaCompiled": {
            "parameters": {
                "type": "object",
                "properties": {},
                "additionalProperties": false,
                "required": []
            }
        },
        "isInputSchemaSaved": false,
        "isOutputSchemaSaved": false,
        "settings": {
            "csp": "worker-src 'self' blob:; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval';",
            "intermediateLoadingScreenCSS": "",
            "intermediateLoadingScreenHTML": "",
            "css": "body, .page {\n  background-color: #ededed !important;\n}\n\n.buttonLink {\n  background: none !important;\n  border: none;\n  cursor: pointer;\n  color: #2996cc;\n  font-size: 15px;\n}",
            "useCustomCSS": true,
            "cssLinks": [
                "https://assets.pingone.com/ux/end-user/1.7.0/end-user.css"
            ],
            "debugMode": true
        },
        "graphData": {
            "elements": {
                "nodes": [
                    {
                        "data": {
                            "id": "flcpb3usqg",
                            "nodeType": "CONNECTION",
                            "connectionId": "de650ca45593b82c49064ead10b9fe17",
                            "connectorId": "functionsConnector",
                            "name": "Functions",
                            "label": "Functions",
                            "status": "configured",
                            "capabilityName": "AEqualsMultipleB",
                            "type": "trigger",
                            "properties": {
                                "leftValueA": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"variable.svg\",\n        \"url\": \"buttonValue\",\n        \"data\": \"{{global.variables.buttonValue}}\",\n        \"tooltip\": \"{{global.variables.buttonValue}}\",\n        \"children\": [\n          {\n            \"text\": \"buttonValue\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                },
                                "rightValueMultiple": {
                                    "value": [
                                        {
                                            "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"accept\"\n      }\n    ]\n  }\n]",
                                            "id": "izycvylmik"
                                        },
                                        {
                                            "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"decline\"\n      }\n    ]\n  }\n]",
                                            "id": "9ozfxizjc8"
                                        }
                                    ]
                                }
                            }
                        },
                        "position": {
                            "x": 1055,
                            "y": 236
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "5m69c9yuhl",
                            "nodeType": "CONNECTION",
                            "connectionId": "94141bf2f1b9b59a5f5365ff135e02bb",
                            "connectorId": "pingOneSSOConnector",
                            "name": "PingOne",
                            "label": "PingOne - Template",
                            "status": "configured",
                            "capabilityName": "readAgreementContent",
                            "type": "action",
                            "properties": {
                                "agreementId": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"variable.svg\",\n        \"url\": \"registrationAgreementId\",\n        \"data\": \"{{global.variables.registrationAgreementId}}\",\n        \"tooltip\": \"{{global.variables.registrationAgreementId}}\",\n        \"children\": [\n          {\n            \"text\": \"registrationAgreementId\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                },
                                "nodeTitle": {
                                    "value": "Read PingOne Agreement"
                                },
                                "nodeDescription": {},
                                "acceptLanguage": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"English\"\n      }\n    ]\n  }\n]"
                                },
                                "userLocale": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"en\"\n      }\n    ]\n  }\n]"
                                }
                            }
                        },
                        "position": {
                            "x": 794,
                            "y": 240
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "9681umo0k6",
                            "nodeType": "EVAL",
                            "properties": {
                                "rc7i0l6avo": {
                                    "value": "anyTriggersFalse"
                                }
                            }
                        },
                        "position": {
                            "x": 905,
                            "y": 236
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "76yio708za",
                            "nodeType": "EVAL",
                            "label": "Evaluator"
                        },
                        "position": {
                            "x": 1175,
                            "y": 356
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "t86x1aiia5",
                            "nodeType": "CONNECTION",
                            "connectionId": "867ed4363b2bc21c860085ad2baa817d",
                            "connectorId": "httpConnector",
                            "name": "Http",
                            "label": "Http",
                            "status": "configured",
                            "capabilityName": "customHtmlMessage",
                            "type": "trigger",
                            "properties": {
                                "messageTitle": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"Agreement Declined\"\n      }\n    ]\n  }\n]"
                                },
                                "nodeTitle": {
                                    "value": "Agreement Declined"
                                },
                                "message": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"output\",\n        \"data\": \"{{local.5m69c9yuhl.payload.output}}\",\n        \"tooltip\": \"{{local.5m69c9yuhl.payload.output}}\",\n        \"children\": [\n          {\n            \"text\": \"output\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                }
                            },
                            "idUnique": "nu8snrrcsq"
                        },
                        "position": {
                            "x": 1341,
                            "y": 360
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "d9ee8s4dok",
                            "nodeType": "EVAL",
                            "label": "Evaluator"
                        },
                        "position": {
                            "x": 1175,
                            "y": 236
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "3qaom990wu",
                            "nodeType": "CONNECTION",
                            "connectionId": "94141bf2f1b9b59a5f5365ff135e02bb",
                            "connectorId": "pingOneSSOConnector",
                            "name": "PingOne",
                            "label": "PingOne - Template",
                            "status": "configured",
                            "capabilityName": "createUser",
                            "type": "action",
                            "properties": {
                                "username": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"functions.svg\",\n        \"url\": \"testUserName\",\n        \"data\": \"{{local.bmwx3idrd5.payload.output.testUserName}}\",\n        \"tooltip\": \"{{local.bmwx3idrd5.payload.output.testUserName}}\",\n        \"children\": [\n          {\n            \"text\": \"testUserName\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                },
                                "populationId": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"variable.svg\",\n        \"url\": \"registrationPopulationId\",\n        \"data\": \"{{global.variables.registrationPopulationId}}\",\n        \"tooltip\": \"{{global.variables.registrationPopulationId}}\",\n        \"children\": [\n          {\n            \"text\": \"registrationPopulationId\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                },
                                "password": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"http.svg\",\n        \"url\": \"password\",\n        \"data\": \"{{local.f1sal54a34.payload.output.password}}\",\n        \"tooltip\": \"{{local.f1sal54a34.payload.output.password}}\",\n        \"children\": [\n          {\n            \"text\": \"password\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                },
                                "lifecycleStatus": {
                                    "value": "ACCOUNT_OK"
                                },
                                "nodeTitle": {
                                    "value": "Create PingOne User"
                                },
                                "passwordForCreateUser": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"variable.svg\",\n        \"url\": \"testPW\",\n        \"data\": \"{{global.variables.testPW}}\",\n        \"tooltip\": \"{{global.variables.testPW}}\",\n        \"children\": [\n          {\n            \"text\": \"testPW\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                }
                            }
                        },
                        "position": {
                            "x": 1325,
                            "y": 236
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "rrrq23e6du",
                            "nodeType": "EVAL",
                            "label": "Evaluator",
                            "properties": {
                                "wteczjwm0d": {
                                    "value": "anyTriggersFalse"
                                }
                            }
                        },
                        "position": {
                            "x": 1445,
                            "y": 236
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "34u1coxe98",
                            "nodeType": "CONNECTION",
                            "connectionId": "94141bf2f1b9b59a5f5365ff135e02bb",
                            "connectorId": "pingOneSSOConnector",
                            "name": "PingOne",
                            "label": "PingOne - Template",
                            "status": "configured",
                            "capabilityName": "acceptAgreement",
                            "type": "action",
                            "properties": {
                                "identifier": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"id\",\n        \"data\": \"{{local.3qaom990wu.payload.output.rawResponse.id}}\",\n        \"tooltip\": \"{{local.3qaom990wu.payload.output.rawResponse.id}}\",\n        \"children\": [\n          {\n            \"text\": \"id\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                },
                                "agreementPresentationId": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"agreementPresentationId\",\n        \"data\": \"{{local.5m69c9yuhl.payload.output.agreementPresentation.agreementPresentationId}}\",\n        \"tooltip\": \"{{local.5m69c9yuhl.payload.output.agreementPresentation.agreementPresentationId}}\",\n        \"children\": [\n          {\n            \"text\": \"agreementPresentationId\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                },
                                "nodeTitle": {
                                    "value": "Accept PingOne Agreement"
                                }
                            }
                        },
                        "position": {
                            "x": 1595,
                            "y": 236
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "easrddyn93",
                            "nodeType": "EVAL",
                            "label": "Evaluator",
                            "properties": {
                                "kiiqpbbdyi": {
                                    "value": "anyTriggersFalse"
                                }
                            }
                        },
                        "position": {
                            "x": 1715,
                            "y": 236
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "hr64yts0nb",
                            "nodeType": "CONNECTION",
                            "connectionId": "06922a684039827499bdbdd97f49827b",
                            "connectorId": "variablesConnector",
                            "name": "Variables",
                            "label": "WesVariables",
                            "status": "configured",
                            "capabilityName": "saveValue",
                            "type": "trigger",
                            "properties": {
                                "nodeTitle": {
                                    "value": "Set Test Variables"
                                },
                                "saveVariables": {
                                    "value": [
                                        {
                                            "name": "registrationAgreementId",
                                            "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"{{p1AggId}}\"\n      }\n    ]\n  }\n]",
                                            "key": 0.21172988993476816,
                                            "label": "registrationAgreementId (string - flowInstance)",
                                            "type": "string"
                                        },
                                        {
                                            "name": "registrationPopulationId",
                                            "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"{{p1PopId}}\"\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]",
                                            "key": 0.4914949240687898,
                                            "label": "registrationPopulationId (string - flowInstance)",
                                            "type": "string"
                                        },
                                        {
                                            "name": "buttonValue",
                                            "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"accept\"\n      }\n    ]\n  }\n]",
                                            "key": 0.5619257120225769,
                                            "type": "string",
                                            "label": "buttonValue (string - flowInstance)"
                                        },
                                        {
                                            "name": "testPW",
                                            "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"2FederateM0re!\"\n      }\n    ]\n  }\n]",
                                            "key": 0.7122858072876963,
                                            "type": "string",
                                            "label": "testPW (string - flowInstance)"
                                        }
                                    ]
                                }
                            }
                        },
                        "position": {
                            "x": 277,
                            "y": 240
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "rc7i0l6avo",
                            "nodeType": "CONNECTION",
                            "connectionId": "867ed4363b2bc21c860085ad2baa817d",
                            "connectorId": "httpConnector",
                            "name": "Http",
                            "label": "Http",
                            "status": "configured",
                            "capabilityName": "customHtmlMessage",
                            "type": "trigger",
                            "properties": {
                                "messageTitle": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"ERROR - Read PingOne Agreement\"\n      }\n    ]\n  }\n]"
                                },
                                "message": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"CODE: \"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"code\",\n        \"data\": \"{{local.5m69c9yuhl.payload.error.code}}\",\n        \"tooltip\": \"{{local.5m69c9yuhl.payload.error.code}}\",\n        \"children\": [\n          {\n            \"text\": \"code\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  },\n  {\n    \"children\": [\n      {\n        \"text\": \"MESSAGE: \"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"message\",\n        \"data\": \"{{local.5m69c9yuhl.payload.error.message}}\",\n        \"tooltip\": \"{{local.5m69c9yuhl.payload.error.message}}\",\n        \"children\": [\n          {\n            \"text\": \"message\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  },\n  {\n    \"children\": [\n      {\n        \"text\": \"DETAILS: \"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"details\",\n        \"data\": \"{{local.5m69c9yuhl.payload.error.details}}\",\n        \"tooltip\": \"{{local.5m69c9yuhl.payload.error.details}}\",\n        \"children\": [\n          {\n            \"text\": \"details\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                },
                                "nodeTitle": {
                                    "value": "Error reading agreement"
                                }
                            },
                            "idUnique": "gc5nhf4ob7"
                        },
                        "position": {
                            "x": 1055,
                            "y": 476
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "kiiqpbbdyi",
                            "nodeType": "CONNECTION",
                            "connectionId": "867ed4363b2bc21c860085ad2baa817d",
                            "connectorId": "httpConnector",
                            "name": "Http",
                            "label": "Http",
                            "status": "configured",
                            "capabilityName": "customHtmlMessage",
                            "type": "trigger",
                            "properties": {
                                "messageTitle": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"ERROR - Accept PingOne Agreement\"\n      }\n    ]\n  }\n]"
                                },
                                "nodeTitle": {
                                    "value": "Accept Agreement Error"
                                },
                                "message": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"CODE: \"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"code\",\n        \"data\": \"{{local.34u1coxe98.payload.error.code}}\",\n        \"tooltip\": \"{{local.34u1coxe98.payload.error.code}}\",\n        \"children\": [\n          {\n            \"text\": \"code\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  },\n  {\n    \"children\": [\n      {\n        \"text\": \"MESSAGE: \"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"message\",\n        \"data\": \"{{local.34u1coxe98.payload.error.message}}\",\n        \"tooltip\": \"{{local.34u1coxe98.payload.error.message}}\",\n        \"children\": [\n          {\n            \"text\": \"message\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  },\n  {\n    \"children\": [\n      {\n        \"text\": \"DETAILS: \"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"details\",\n        \"data\": \"{{local.34u1coxe98.payload.error.details}}\",\n        \"tooltip\": \"{{local.34u1coxe98.payload.error.details}}\",\n        \"children\": [\n          {\n            \"text\": \"details\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                }
                            },
                            "idUnique": "yb4ko7ffxj"
                        },
                        "position": {
                            "x": 1851,
                            "y": 360
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "7sfvntiiq7",
                            "nodeType": "CONNECTION",
                            "connectionId": "94141bf2f1b9b59a5f5365ff135e02bb",
                            "connectorId": "pingOneSSOConnector",
                            "name": "PingOne",
                            "label": "PingOne",
                            "status": "configured",
                            "capabilityName": "checkPassword",
                            "type": "action",
                            "properties": {
                                "password": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"variable.svg\",\n        \"url\": \"testPW\",\n        \"data\": \"{{global.variables.testPW}}\",\n        \"tooltip\": \"{{global.variables.testPW}}\",\n        \"children\": [\n          {\n            \"text\": \"testPW\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                },
                                "identifier": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"id\",\n        \"data\": \"{{local.3qaom990wu.payload.output.user.id}}\",\n        \"tooltip\": \"{{local.3qaom990wu.payload.output.user.id}}\",\n        \"children\": [\n          {\n            \"text\": \"id\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                }
                            },
                            "idUnique": "vszg38kzxa"
                        },
                        "position": {
                            "x": 1851,
                            "y": 240
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "51hm8l7iv0",
                            "nodeType": "CONNECTION",
                            "connectionId": "867ed4363b2bc21c860085ad2baa817d",
                            "connectorId": "httpConnector",
                            "name": "Http",
                            "label": "Http",
                            "status": "configured",
                            "capabilityName": "customHtmlMessage",
                            "type": "trigger",
                            "properties": {
                                "message": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"CODE: \"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"url:7sfvntiiq7\",\n        \"url\": \"code\",\n        \"data\": \"{{local.7sfvntiiq7.payload.error.code}}\",\n        \"tooltip\": \"{{local.7sfvntiiq7.payload.error.code}}\",\n        \"children\": [\n          {\n            \"text\": \"{{local.7sfvntiiq7.payload.error.code}}\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\\n\"\n      },\n      {\n        \"text\": \"MESSAGE: \"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"url:7sfvntiiq7\",\n        \"url\": \"message\",\n        \"data\": \"{{local.7sfvntiiq7.payload.error.message}}\",\n        \"tooltip\": \"{{local.7sfvntiiq7.payload.error.message}}\",\n        \"children\": [\n          {\n            \"text\": \"{{local.7sfvntiiq7.payload.error.message}}\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\\n\"\n      },\n      {\n        \"text\": \"DETAILS: \"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"url:7sfvntiiq7\",\n        \"url\": \"details\",\n        \"data\": \"{{local.7sfvntiiq7.payload.error.details}}\",\n        \"tooltip\": \"{{local.7sfvntiiq7.payload.error.details}}\",\n        \"children\": [\n          {\n            \"text\": \"{{local.7sfvntiiq7.payload.error.details}}\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                },
                                "messageTitle": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"ERROR - Check Password\"\n      }\n    ]\n  }\n]"
                                },
                                "nodeTitle": {
                                    "value": "Check Password Error"
                                }
                            }
                        },
                        "position": {
                            "x": 2121,
                            "y": 360
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "6gj410j8vp",
                            "nodeType": "EVAL",
                            "properties": {
                                "51hm8l7iv0": {
                                    "value": "anyTriggersFalse"
                                }
                            }
                        },
                        "position": {
                            "x": 1971,
                            "y": 240
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "6a4b2mmkl2",
                            "nodeType": "CONNECTION",
                            "connectionId": "94141bf2f1b9b59a5f5365ff135e02bb",
                            "connectorId": "pingOneSSOConnector",
                            "name": "PingOne",
                            "label": "PingOne",
                            "status": "configured",
                            "capabilityName": "deleteUser",
                            "type": "action",
                            "properties": {
                                "matchAttribute": {
                                    "value": "username"
                                },
                                "identifier": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"functions.svg\",\n        \"url\": \"testUserName\",\n        \"data\": \"{{local.bmwx3idrd5.payload.output.testUserName}}\",\n        \"tooltip\": \"{{local.bmwx3idrd5.payload.output.testUserName}}\",\n        \"children\": [\n          {\n            \"text\": \"testUserName\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                }
                            }
                        },
                        "position": {
                            "x": 2121,
                            "y": 240
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "p7ob7ga8bi",
                            "nodeType": "CONNECTION",
                            "connectionId": "867ed4363b2bc21c860085ad2baa817d",
                            "connectorId": "httpConnector",
                            "name": "Http",
                            "label": "Http",
                            "status": "configured",
                            "capabilityName": "customHtmlMessage",
                            "type": "trigger",
                            "properties": {
                                "messageTitle": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"ERROR - Delete user\"\n      }\n    ]\n  }\n]"
                                },
                                "message": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"code\",\n        \"data\": \"{{local.6a4b2mmkl2.payload.error.code}}\",\n        \"tooltip\": \"{{local.6a4b2mmkl2.payload.error.code}}\",\n        \"children\": [\n          {\n            \"text\": \"code\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  },\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"message\",\n        \"data\": \"{{local.6a4b2mmkl2.payload.error.message}}\",\n        \"tooltip\": \"{{local.6a4b2mmkl2.payload.error.message}}\",\n        \"children\": [\n          {\n            \"text\": \"message\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  },\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"details\",\n        \"data\": \"{{local.6a4b2mmkl2.payload.error.details}}\",\n        \"tooltip\": \"{{local.6a4b2mmkl2.payload.error.details}}\",\n        \"children\": [\n          {\n            \"text\": \"details\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                },
                                "nodeTitle": {
                                    "value": "Delete User Error"
                                }
                            }
                        },
                        "position": {
                            "x": 2391,
                            "y": 360
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "2iuquxw3gy",
                            "nodeType": "CONNECTION",
                            "connectionId": "867ed4363b2bc21c860085ad2baa817d",
                            "connectorId": "httpConnector",
                            "name": "Http",
                            "label": "Http",
                            "status": "configured",
                            "capabilityName": "customHtmlMessage",
                            "type": "trigger",
                            "properties": {
                                "messageTitle": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"TEST SUCCESS\"\n      }\n    ]\n  }\n]"
                                },
                                "nodeTitle": {
                                    "value": "TEST SUCCESS"
                                },
                                "message": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"output\",\n        \"data\": \"{{local.34u1coxe98.payload.output}}\",\n        \"tooltip\": \"{{local.34u1coxe98.payload.output}}\",\n        \"children\": [\n          {\n            \"text\": \"output\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                }
                            }
                        },
                        "position": {
                            "x": 2391,
                            "y": 240
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "6wld2pu90b",
                            "nodeType": "EVAL",
                            "properties": {
                                "p7ob7ga8bi": {
                                    "value": "anyTriggersFalse"
                                }
                            }
                        },
                        "position": {
                            "x": 2241,
                            "y": 240
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "wteczjwm0d",
                            "nodeType": "CONNECTION",
                            "connectionId": "867ed4363b2bc21c860085ad2baa817d",
                            "connectorId": "httpConnector",
                            "name": "Http",
                            "label": "Http",
                            "status": "configured",
                            "capabilityName": "customHtmlMessage",
                            "type": "trigger",
                            "properties": {
                                "nodeTitle": {
                                    "value": "Create User Error"
                                },
                                "messageTitle": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"ERROR - Create PingOne User\"\n      }\n    ]\n  }\n]"
                                },
                                "message": {
                                    "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"CODE: \"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"code\",\n        \"data\": \"{{local.3qaom990wu.payload.error.code}}\",\n        \"tooltip\": \"{{local.3qaom990wu.payload.error.code}}\",\n        \"children\": [\n          {\n            \"text\": \"code\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  },\n  {\n    \"children\": [\n      {\n        \"text\": \"MESSAGE: \"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"message\",\n        \"data\": \"{{local.3qaom990wu.payload.error.message}}\",\n        \"tooltip\": \"{{local.3qaom990wu.payload.error.message}}\",\n        \"children\": [\n          {\n            \"text\": \"message\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  },\n  {\n    \"children\": [\n      {\n        \"text\": \"DETAILS: \"\n      },\n      {\n        \"text\": \"\"\n      },\n      {\n        \"type\": \"link\",\n        \"src\": \"pingIdentity.svg\",\n        \"url\": \"details\",\n        \"data\": \"{{local.3qaom990wu.payload.error.details}}\",\n        \"tooltip\": \"{{local.3qaom990wu.payload.error.details}}\",\n        \"children\": [\n          {\n            \"text\": \"details\"\n          }\n        ]\n      },\n      {\n        \"text\": \"\"\n      }\n    ]\n  }\n]"
                                }
                            }
                        },
                        "position": {
                            "x": 1581,
                            "y": 360
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "bmwx3idrd5",
                            "nodeType": "CONNECTION",
                            "connectionId": "de650ca45593b82c49064ead10b9fe17",
                            "connectorId": "functionsConnector",
                            "name": "Functions",
                            "label": "Functions",
                            "status": "configured",
                            "capabilityName": "customFunction",
                            "type": "trigger",
                            "properties": {
                                "code": {
                                    "value": "// Write your code here\n// Supported language: Javascript \nmodule.exports = a = async ({params}) => {\n\tlet testUserName = params.baseUserName\n\ttestUserName += Date.now()\n\treturn {'testUserName': testUserName}\n}"
                                },
                                "variableInputList": {
                                    "value": [
                                        {
                                            "name": "baseUserName",
                                            "preferredDataType": "string",
                                            "value": "[\n  {\n    \"children\": [\n      {\n        \"text\": \"QaUser\"\n      }\n    ]\n  }\n]"
                                        }
                                    ]
                                },
                                "nodeTitle": {
                                    "value": "Set User Name with Timestamp"
                                },
                                "outputSchema": {
                                    "value": "{\n\t\"output\": {\n\t\t\"type\": \"object\",\n\t\t\"properties\": {\n\t\t\t\"testUserName\": {\n\t\t\t\t\"type\": \"string\"\n\t\t\t}\n\t\t}\n\t}\n}"
                                }
                            }
                        },
                        "position": {
                            "x": 547,
                            "y": 240
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "d1m9wfnpf4",
                            "nodeType": "EVAL"
                        },
                        "position": {
                            "x": 397,
                            "y": 240
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "tg2y3ga4cb",
                            "nodeType": "EVAL"
                        },
                        "position": {
                            "x": 667,
                            "y": 240
                        },
                        "group": "nodes",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": false,
                        "classes": ""
                    }
                ],
                "edges": [
                    {
                        "data": {
                            "id": "9u76v1b4nj",
                            "source": "6gj410j8vp",
                            "target": "51hm8l7iv0"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "x16jzevn2w",
                            "source": "6wld2pu90b",
                            "target": "2iuquxw3gy"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "u2g7kywoo2",
                            "source": "6wld2pu90b",
                            "target": "p7ob7ga8bi"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "v054ep83ve",
                            "source": "3qaom990wu",
                            "target": "rrrq23e6du"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "a0lo5wsxd0",
                            "source": "6a4b2mmkl2",
                            "target": "6wld2pu90b"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "2d5g0nx1zp",
                            "source": "6gj410j8vp",
                            "target": "6a4b2mmkl2"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "3j0q1quql9",
                            "source": "flcpb3usqg",
                            "target": "76yio708za",
                            "multiValueSourceId": "9ozfxizjc8"
                        },
                        "position": {
                            "x": 64,
                            "y": 92
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "idxuj95kvz",
                            "source": "easrddyn93",
                            "target": "kiiqpbbdyi"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "s5tdl3fsuv",
                            "source": "flcpb3usqg",
                            "target": "d9ee8s4dok",
                            "multiValueSourceId": "izycvylmik"
                        },
                        "position": {
                            "x": 64,
                            "y": 52
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "m16nybcl7k",
                            "source": "5m69c9yuhl",
                            "target": "9681umo0k6"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "zz5se7cwdc",
                            "source": "9681umo0k6",
                            "target": "flcpb3usqg"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "3rt79iuaza",
                            "source": "9681umo0k6",
                            "target": "rc7i0l6avo"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "3yutphbplm",
                            "source": "7sfvntiiq7",
                            "target": "6gj410j8vp"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "r26lv34wjc",
                            "source": "d9ee8s4dok",
                            "target": "3qaom990wu"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "pd163ynwwz",
                            "source": "rrrq23e6du",
                            "target": "34u1coxe98"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "8hxtm8viyk",
                            "source": "76yio708za",
                            "target": "t86x1aiia5"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "sg6rs9258p",
                            "source": "34u1coxe98",
                            "target": "easrddyn93"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "v2vi85gqn5",
                            "source": "rrrq23e6du",
                            "target": "wteczjwm0d"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "roldumnhmc",
                            "source": "easrddyn93",
                            "target": "7sfvntiiq7"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "zz8fa1xldd",
                            "source": "hr64yts0nb",
                            "target": "d1m9wfnpf4"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "ywlvouv451",
                            "source": "d1m9wfnpf4",
                            "target": "bmwx3idrd5"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "a1afebj84h",
                            "source": "bmwx3idrd5",
                            "target": "tg2y3ga4cb"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    },
                    {
                        "data": {
                            "id": "bodlfjvmgn",
                            "source": "tg2y3ga4cb",
                            "target": "5m69c9yuhl"
                        },
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "group": "edges",
                        "removed": false,
                        "selected": false,
                        "selectable": true,
                        "locked": false,
                        "grabbable": true,
                        "pannable": true,
                        "classes": ""
                    }
                ]
            },
            "data": {},
            "zoomingEnabled": true,
            "userZoomingEnabled": true,
            "zoom": 1,
            "minZoom": 1e-50,
            "maxZoom": 1e+50,
            "panningEnabled": true,
            "userPanningEnabled": true,
            "pan": {
                "x": 0,
                "y": 0
            },
            "boxSelectionEnabled": true,
            "renderer": {
                "name": "null"
            }
        },
        "inputSchema": [],
        "flowColor": "#CACED3",
        "connectorIds": [
            "functionsConnector",
            "pingOneSSOConnector",
            "httpConnector",
            "variablesConnector"
        ],
        "flowId": "d6f885753ab5bdf6d9ff2612b3e0ef4d",
        "companyId": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6",
        "customerId": "397d5dcb272a72ebae2f8b0e98db8fb8",
        "versionId": 0,
        "createdDate": 1668026492028,
        "name": "Imported Legacy Flow 1668026492",
        "description": "Flow imported"
    }
}