Scenario 3: Promotion of a PingOne DaVinci flow (early access)
The goal of this scenario is for you to promote a PingOne DaVinci flow so that you can understand how flow versioning is handled during promotion.
In this scenario, you’ll promote a DaVinci flow named Test Registration, Password Reset, and Recovery from the Promotion-Source environment to the Promotion-Target environment. This flow has four versions in the source environment, and Version 3 is the deployed version.
No versions of the flow exist in the target environment.
Configure and run the promotion in the source environment
To configure the promotion, you’ll confirm the target environment, select the resource to promote (the Test Registration, Password Reset, and Recovery flow), and determine whether the resource should be created as new in the target environment or mapped to an existing resource. Then you’ll run the promotion.
Steps
-
In the PingOne admin console for the Promotion-Source environment, go to Promote > Promotions.
-
Click Run a Promotion.
-
On the Confirm Target Environment modal, ensure that Promotion-Target is selected in the Target Environment list.
-
Select The correct environment is selected and I want to continue and click Confirm.
After you confirm the target environment, PingOne takes snapshots of both environments, compares configuration resources, and lists the resources that you can promote.
-
On the Select Resources to Promote page, search for the Test Registration, Password Reset, and Recovery flow and select it.
-
Click Next.
The Map Resources page displays. Because no versions of the flow exist in the target environment, the promotion service indicates that the flow will be created as a new resource.
-
Click Confirm and Continue.
For the purposes of this scenario, there are no dependencies to map. If there were dependencies, you would need to map them on the Auto-select Dependencies page before continuing.
-
Verify the promotion details on the Confirm Promotion page, enter release notes, and click Run Promotion.
Result
You’re returned to the Promotions page and the current promotion is listed with a status of In Progress. After about 30 seconds, refresh the page. The status will change to Success for a successful promotion.
Verify the promotion
To verify the results of the promotion, first confirm the details of the promotion in the source environment, then ensure that the flow exists as expected in the target environment.
Steps
-
In the PingOne admin console for the Promotion-Source environment, go to Promote > Promotions.
-
Locate the promotion in the list, click the More Options icon (⋮), and select View.
Promotions are listed in reverse chronological order, so the most recent promotion appears at the top of the list.
- Overview tab
-
The Overview tab shows information about when the promotion was started and completed, the source and target environments, the status of the promotion, and any release notes that were added.
- Promoted Resources tab
-
The Promoted Resources tab shows that the Test Registration, Password Reset, and Recovery flow was promoted to the target environment.
-
On the Overview tab, click View Target Environment.
You’re taken to the PingOne admin console for the target environment so that you can confirm that the promoted resources exist and match what you expect.
-
For this scenario, go to DaVinci and click Flows in the sidebar for the DaVinci admin console.
The Test Registration, Password Reset, and Recovery flow is now listed on the Flows page in the target environment.
-
Click the Test Registration, Password Reset, and Recovery flow to open it.
-
Click the More Options icon (⋮) in the header and select Flow Versions.
Result
The Flow Versions panel displays, showing that, as expected, Version 3 of the flow was promoted and is the only version in the target environment.