<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Okta User Created Event Returns "ID":"unknown" Value in Workflows
Okta Classic Engine
Okta Identity Engine
Workflows
Overview

The Okta - User Created event card sometimes returns the user ID as unknown. This article clarifies the conditions under which this occurs.

Applies To
  • Workflows
Cause

This behavior occurs because the Okta - User Created event card in Okta Workflows triggers for both successful and failed user creation events. When a user creation fails (for example, due to invalid attribute values such as an incorrect manager reference), the event payload may include "ID": "unknown" and "Alternate ID": "unknown".

Solution

Perform the following steps to ensure that the workflow only processes users who have been successfully created.

  1. Check the system log and confirm that a user creation failure is displayed.

  2. Add a Continue If function to check the outcome.

  3. If the output displays SUCCESS, continue processing the workflow. This ensures that the workflow only runs for users who have been successfully created, avoiding errors when the user record does not yet exist in Okta.

  4. Confirm the same information appears in the system logs by taking the UUID from a failed event and searching for the value in the system log. The unknown user ID is shown.

Recommended content

Documentation
Group Created
Documentation
User Created
Documentation
API Token Created
Documentation
Application Created
Loading
Okta User Created Event Returns "ID":"unknown" Value in Workflows