← Course Home
Okta Certified Workflows - Specialty · Part II

Update Profile Attributes

31% of Part II — dates, conditions, and verifying the result.

Update Profile Attributes

Task 3: Test Your Flow

3 tasks · this deck covers task 3 of 3

↑ Update Profile Attributes Overview

The Task

"Test your flow"

A date-driven attribute update is exactly the kind of flow that's easy to get subtly wrong — a timezone slip, an off-by-one in Add/Subtract, an Expression that's true when you expected false. Before it ships, run it.

The Connection — Full Deck Already Exists

The general testing discipline — the Run button, execution history, reading how data passed through each card — is covered there in depth. This slide adds only what's specific to a dates-and-attributes flow.

What "Run" Gives You Here

"To test your flows during development, click Run in the toolbar when editing a flow... When you click Run in the dialog, the flow executes using that test data. The execution history shows the data as it passes through each card in the flow."

For a date-calculation flow, that execution history is what lets you confirm the actual computed value at each step — the raw Now output, what Add or Subtract produced, and the true/false the Expression card returned — rather than just trusting the logic looks right on paper.

The Operational Angle for This Use Case

Test Connection lets you point a test run at a real or temporary connection so date math resolves against real profile data. Feed test data for the Options/Inputs a real trigger would supply (a user ID, a term-start date), then read the execution history at the Expression card specifically — that's where a date/time bug in this use case actually surfaces as a wrong true/false.

The Angle — What Trips People Up

Watch for this in your own sandbox run:

→ Testing the flow once with a single hand-picked date and assuming it's correct — retest with a date right at the boundary condition (exactly on the term-end date, one second before/after).

One Line To Remember

Run + test data + execution history (full mechanics in Troubleshooting Flows, Module 1) is how you verify a date-driven attribute update. For this use case specifically, check the execution history at the Expression card and retest at the boundary date, not just a comfortably-true or comfortably-false one.
✓ Update Profile Attributes — 3 of 3 courses complete

Sources: help.okta.com — Test your flows (type=wf&id=ext-connectorbuilder-test); cross-referenced with Troubleshooting Flows, Module 1