<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
0D54z000076vO5GCAUOkta Identity EngineWorkflowsAnswered2024-04-15T12:40:19.000Z2021-08-09T22:01:40.000Z2021-08-10T16:50:21.000Z

871wk (871wk) asked a question.

"List Include" function not working

Hi folks,

 

The "List Include" function is not working for me, I tried multiple values even "ID" but it is always returning False, even the example on their documentation is failing (https://help.okta.com/wf/en-us/Content/Topics/Workflows/function-reference/List/list_includes.htm). Am I missing something here? did you manage to make this work?

 

Let me give you a bit of context on what I'm trying to achieve here, I'm creating a conditional based on a specific group membership, I want to validate if a user is member of a group, for that I pulled the list of groups from Okta and then trying to search through the "List include" function if true or false when searching the specific group by Name or ID

 

Image is not available


  • TimL.58332 (Workflows)

    Hello Steiner,

     

    Here is a demo of it working. It requires an exact match and not a partial match. Since you are evaluating against a list of objects the entire object would need to be an exact match. Additionally, data type is extremely important. If the datatype does not match what you are evaluating against it will fail.

     

     Screen Shot 2021-08-10 at 9.48.30 AMScreen Shot 2021-08-10 at 9.48.49 AM

    Expand Post
This question is closed.
Loading
"List Include" function not working