PingOne DaVinci

Configuring the Flow

Prepare a flow to be launched with an API call.

About this task

This procedure only covers the steps and nodes required to prepare a flow for API invocation. It assumes that you have already created a flow for the purpose you have in mind. See the Getting started with DaVinci and DaVinci Best Practices documentation for more information about building flows.

Steps

  1. Click the Flows tab.

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

  3. At the end of the success path, add an HTTP node to send a JSON success response.

  4. At the end of any failure paths, add an HTTP node to send a JSON error response.

  5. Optional: If you want to pass parameters to the flow as part of the invocation, add them to the input schema.

    1. Click Input Schema.

    2. Click Add to add a new parameter.

    3. In the Parameter Name field, enter a name for the input parameter.

    4. Optional: In the Description field, enter a description for the input parameter.

    5. In the Data Type list, select a data type for the input parameter.

    6. Select Required if the parameter is required for the flow.

    7. Optional: Repeat steps b-f to add additional parameters.

    8. Click Save.

  6. Click Save.

  7. Click Deploy.