PingOne DaVinci

Editing the output schema

Configure the information included in the output when the flow completes.

About this task

The output from the flow is generated using a JSON schema with output as a root object.

Steps

  1. Click the Flows tab.

  2. Find the flow and click ... > Edit.

  3. Click More options ( ) > Output Schema to show the output schema.

  4. Update the JSON schema.

    You can add one or more parameters to the properties section. For example, this output schema outputs the errorMessage and selectedDeviceOtpEnabled properties:

    {
      "output": {
        "type": "object",
        "additionalProperties":true,
        "properties": {
          "errorMessage": {
            "type": "string",
            "displayName": "Error Message",
            "preferredControlType": "textField",
            "enableParameters": true,
            "propertyName": "errorMessage"
          },
          "selectedDeviceOtpEnabled": {
            "type":"bool"
          }
        }
      }
    }
    json
  5. Click Save.