<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
0D54z0000AFp8QvCQJOkta Identity EngineWorkflowsAnswered2025-10-27T09:00:35.000Z2024-09-05T13:41:57.000Z2024-09-11T13:44:54.000Z
Okta Workflow - "User Account Locked" Event question

I have configured Okta Workflow where I have added "User Account Locked" Event.

When any user tries to attempt an invalid password 5 times (configured in the policy) User is automatically locked in Okta.

And then the Okta Workflow was triggered but the locked User information is coming under Output > "Admin" and "Okta User" details are empty.

I have attached the screenshot of the "Okta Workflow - Execution History" below for your reference. So Is this the expected behavior or I missed something?

Image is not available


  • TimL.58332 (Workflows)

    Okta Workflows (Event) cards received payloads from Okta Event Hooks that contain the System Log data. When the data is received the flow invokes an execution. The Event Cards themselves have pre-mapped basic categories. These categories are part of the schema of all System Log events. The actual data that is received is going to be dependent on the System Log entry for a specific eventType. The Locked out event (user.account.lock) doesn't have "Target" information so the target data is empty meaning the pre-mapped "Okta User" is empty.

     

    The Actor is the individual performing the action (This is usually an Admin for most event types) which is why it is placed in the pre-mapped Admin location.

     

    For the user.account.lock the Actor is actually the individual specifying invalid credentials which may or may not be an actual System administrator.

     

    To reiterate: This is not a Workflows issue. As indicated above Workflows is just pre-mapping the System Log schema. Workflows has no control over the actual payload being sent to it.

     

     

    Expand Post
    Selected as Best
  • TimL.58332 (Workflows)

    Okta Workflows (Event) cards received payloads from Okta Event Hooks that contain the System Log data. When the data is received the flow invokes an execution. The Event Cards themselves have pre-mapped basic categories. These categories are part of the schema of all System Log events. The actual data that is received is going to be dependent on the System Log entry for a specific eventType. The Locked out event (user.account.lock) doesn't have "Target" information so the target data is empty meaning the pre-mapped "Okta User" is empty.

     

    The Actor is the individual performing the action (This is usually an Admin for most event types) which is why it is placed in the pre-mapped Admin location.

     

    For the user.account.lock the Actor is actually the individual specifying invalid credentials which may or may not be an actual System administrator.

     

    To reiterate: This is not a Workflows issue. As indicated above Workflows is just pre-mapping the System Log schema. Workflows has no control over the actual payload being sent to it.

     

     

    Expand Post
    Selected as Best
  • DianaL.19788 (Customer Support Online Community and Social Care)

    Hi @dye4h (dye4h)​ , thank you for contacting Okta Community.

     

    The behavior you described is expected. In this case, you are not only the target (Okta user) but also the cause of the event (Admin).

     

    Regards. 

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

     

     

    Expand Post
This question is closed.
Loading
Okta Workflow - "User Account Locked" Event question