<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
0D54z00008WW5t3CADOkta Identity EngineWorkflowsAnswered2022-12-14T18:23:32.000Z2022-12-13T15:41:13.000Z2022-12-14T18:23:32.000Z

MiguelM.28799 (Customer) asked a question.

Pull the Name of the Rule that the User's Group is Managed By

Hello community, I was wondering if there is a way to pull the name of the group rule that manages the group of a user. Currently we set a search to look for rules that the group is found in but we wanted to see if there is a better way of doing it since most of the time the user might not be managed by any of those rules so it delays the workflow quite a bit.

/help/servlet/rtaImage?refid=0EM4z000005JMca


  • User16412262181551847440 (Federal Support)

    Hi Miguel,

     

    Unfortunately this particular field is not exposed via the API when reading a users groups, which means that Workflows cannot pull this directly. This dialog would need to be added to the /api/v1/users/{userID}/groups Endpoint for Workflows to be able to pull those details directly.

     

    As it stands, the Workflow design would need to use the "Read group rules" and "Get users groups" and apply some logic to connect those two results together to create an approximation of this "Managed by" dialog.

     

    I'd suggest submitting an Idea for the users API to expose this "Managed by" dialog to the /api/v1/users/{userID}/groups API endpoint, thats going to be the best bet short of building the logic using the combination of get users groups and read group rules cards. You can find details about the Ideas program here: https://support.okta.com/help/s/article/Okta-Ideas-Overview-FAQ?language=en_US

    Expand Post
    Selected as Best
  • User16412262181551847440 (Federal Support)

    Hi Miguel,

     

    Unfortunately this particular field is not exposed via the API when reading a users groups, which means that Workflows cannot pull this directly. This dialog would need to be added to the /api/v1/users/{userID}/groups Endpoint for Workflows to be able to pull those details directly.

     

    As it stands, the Workflow design would need to use the "Read group rules" and "Get users groups" and apply some logic to connect those two results together to create an approximation of this "Managed by" dialog.

     

    I'd suggest submitting an Idea for the users API to expose this "Managed by" dialog to the /api/v1/users/{userID}/groups API endpoint, thats going to be the best bet short of building the logic using the combination of get users groups and read group rules cards. You can find details about the Ideas program here: https://support.okta.com/help/s/article/Okta-Ideas-Overview-FAQ?language=en_US

    Expand Post
    Selected as Best
This question is closed.
Loading
Pull the Name of the Rule that the User's Group is Managed By