<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
0D54z00009jHsFwCAKOkta Identity EngineWorkflowsAnswered2023-10-31T21:59:40.000Z2023-10-06T17:27:03.000Z2023-10-31T21:59:40.000Z

SamR.63648 (Customer) asked a question.

Help with creating a workflow - remove all members of a group daily

I am trying to create a workflow that will empty a group of all its members once per day

I understand how to do the scheduling component, but I have not been able to figure out how to get the array of users that are members of the group and then execute the action to remove each of them.

Any suggestions would be appreciated. I am not experienced with the workflow engine yet and still working to understand how its logic language works.


  • TimL.58332 (Workflows)

    @SamR.63648 (Customer)​  -- This process will require 2 flows

     

    Scheduled flow - This flow will run daily. Obtain a list of all users in a group and stream the output to a Helper flow so each "object" found can be processed.

     

    Helper flow - This is the target of the streaming action. Each found object will invoke this helper flow to run once for each object. The passed in data can then be utilized to remove the user from the group.

     

    The video on the help doc on streaming essentially steps you through doing your exact use case.

     

    https://support.okta.com/help/s/article/How-to-use-Streaming-Action-cards-in-Okta-Workflows?language=en_US

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

    @SamR.63648 (Customer)​  -- This process will require 2 flows

     

    Scheduled flow - This flow will run daily. Obtain a list of all users in a group and stream the output to a Helper flow so each "object" found can be processed.

     

    Helper flow - This is the target of the streaming action. Each found object will invoke this helper flow to run once for each object. The passed in data can then be utilized to remove the user from the group.

     

    The video on the help doc on streaming essentially steps you through doing your exact use case.

     

    https://support.okta.com/help/s/article/How-to-use-Streaming-Action-cards-in-Okta-Workflows?language=en_US

    Expand Post
    Selected as Best
This question is closed.
Loading
Help with creating a workflow - remove all members of a group daily