<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
0D54z00007C4z9PCAROkta Identity EngineWorkflowsAnswered2021-09-21T17:19:04.000Z2021-09-21T15:27:14.000Z2021-09-21T17:19:04.000Z

MikeP.78928 (Customer) asked a question.

Help getting Continue If to work based off an email domain

I'm trying to get a Workflow to work that will start on user creation, Continue If they a specific @example.com email domain, and use that to assign the user to an app or group. I'm struggling with the Continue If, I set the flow to read the user after creation, pass the primary email key to Continue If and set that to has key @example.com. Not working. Any suggestions?


  • BlakeC.51952 (Employee)

    Hi @MikeP.78928 (Customer)​,

     

    Thanks for posting.

     

    The "has key" operator expects value a in the Continue If card to be an object rather than text.  

     

    You could try passing "@example.com" as value a, then use the "in" operator to see if it's in the user's primary email. For example:

    ContinueIf 

    Please let us know if this helps or if you have any further questions.

     

    Blake at Okta Inc.

    Expand Post
    Selected as Best
  • BlakeC.51952 (Employee)

    Hi @MikeP.78928 (Customer)​,

     

    Thanks for posting.

     

    The "has key" operator expects value a in the Continue If card to be an object rather than text.  

     

    You could try passing "@example.com" as value a, then use the "in" operator to see if it's in the user's primary email. For example:

    ContinueIf 

    Please let us know if this helps or if you have any further questions.

     

    Blake at Okta Inc.

    Expand Post
    Selected as Best
  • MikeP.78928 (Customer)

    Thank you @BlakeC.51952 (Employee)​ that did the trick. I am in business. I greatly appreciate the quick feedback.

This question is closed.
Loading
Help getting Continue If to work based off an email domain
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply