<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
0D54z0000881v6WCAQOkta Identity EngineWorkflowsAnswered2024-01-11T14:49:44.000Z2022-09-27T13:29:57.000Z2022-09-29T07:22:19.000Z
  • User16412262181551847440 (Federal Support)

    Hi @SarahS.89561 (Customer)​ ,

    I've been doing some digging on this as its a bit complicated.

     

    (?!Yellow$)((Yell)\S*) works as a regex to match your use case, however, it is using a negative lookahead, which is not supported in Go, the engine backing the Workflows "Find Pattern" card.

     

    I haven't been able to determine a good alternative that is available in Go, but I thought I'd share some resources in the event it is helpful during your investigations. https://regex101.com/ is a great resource, and supports changing the engine to "Golang" on the left "Flavor" navigation pane. If you select this, it will give you some good tutorials about writing Go supported regex, and you can test there.

     

     

    Expand Post
  • TimL.58332 (Workflows)

    I think the best bet here would be to just find all that start with "Yell". Then do an additional step to confirm it is not the excluded groups. If you have more than one excluded group you could use a lookup table.

     

    1) Find all that start with Yell

    2) Make a lookup table of each group you want to exclude and have its output be "True" and if not matched "False" using the (Boolean - T/F type)

    3) Then do a continue if that says: If Lookup table that you are using to exclude groups == "False" continue with the flow. Otherwise it will stop there.

    Expand Post
    • SarahS.89561 (Customer)

      Hi Tim

       

      Settled on this which seems to work, basically it's looping through a users groups for a pattern and then writing it to a table for user in the parent flow

       

      image 

       

      Expand Post
This question is closed.
Loading
Find Pattern Card - Need a regular expression for does not contain