Flows in DaVinci flows often have multiple versions as administrators make changes, and not all of these versions should be presented to users. A flow policy ensures that users see the correct version of the correct flow.

  1. Sign on to DaVinci and click the Applications tab.
  2. Find the application and click Edit.
  3. Click the Flow Policy tab.
  4. Click Add Flow Policy.
  5. In the Name field, enter a name for the flow policy.
  6. Select PingOne Flow Policy.
  7. Add one or more PingOne flows to the policy.
    Important:

    PingOne flow policies can only include flows and flow versions that have the PingOne Flow setting enabled. Flows and versions without this setting cannot be selected.

    1. In the Flows section, select a flow.
    2. In the Version section, select one or more versions of the flow.

      The Latest Version option always uses the latest version.

    3. Optional: Repeat the previous steps to add additional flows.
  8. Click Create Flow Policy.

    The Edit Your Weight Distribution modal opens.

  9. Add weight distribution and analytics information for each flow and flow version:
    1. In the Distribution field for each flow version, enter or select a distribution weight from 1 to 100.
      Note:

      The weight is used if the flow policy is invoked without a flow ID. You can use the weight to perform A/B testing.

    2. Optional: Click Add IP Whitelist.
    3. Optional: In the Whitelist IP field, enter one or more IP addresses.
      Note:

      If a request comes from an allowed IP address, the weight is ignored, and the specified flow is triggered.

    4. Optional: In the Analytics - Select Success Nodes list, select one or more nodes that, when run, indicate that the flow run was successful.

      This information is used to calculate the flow policy's success rate.

  10. Click Save Flow Policy.