<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
0D54z000077f9SiCAIOkta Identity EngineWorkflowsAnswered2024-02-13T21:58:02.000Z2021-08-16T22:46:38.000Z2021-08-18T19:32:02.000Z

AlexW.39969 (Customer) asked a question.

Trigger workflow from APP assignment profile update

Is there any way to trigger a Workflow when a users application profile is updated. The specific system log event is Updated user application property application.user_membership.update

 

I cannot use the "Okta profile updated" card as you can modify a users application profile without changing their Okta profile.


  • TimL.58332 (Workflows)

    Hello Alexander.

     

    Any of the eligible events can be utilized in a hook to kick off a flow. Take a look at:

     

    https://developer.okta.com/docs/reference/api/event-types/?q=event-hook-eligible

     

    In Workflows console do:

     

    1) Create an "Event - API Endpoint" card.

    2) Click the </> icon on the card then "Expose it as a webhook". (This will provide the information needed to fill out the Event Hook)

     

    In Okta admin console do:

     

    1). Workflows>Event Hooks>Create Event Hook

    2). Provide a name, then the following values:

    • URL = {Invoke Url}
    • Authentication field should contain: x-api-client-token
    • Authentication Secret = {Client Token}
    Expand Post
  • TimL.58332 (Workflows)

    As a followup,

     

    Event-hooks are essentially real-time. For non-eligible events you can still trigger a flow from them utilizing a schedule. Essentially, you create an Okta custom API Action card and directly query the syslog for the event in question. You would need to query a time period (essentially days/hours/minutes back) and would require you to create the logic for it to meet your needs. Then "if" the event is found perform some action.

    Expand Post
    • AlexW.39969 (Customer)

      Hi Tim,

       

      Thank you for the response. Trying to set this up I think I hit our API limit because Workflows is no longer authorized and won't let me reauthorize. It kept pulling all logs despite me querying specifically for logs since yesterday and event type=application.user_membership.update

       

      What am I doing wrong/missing? Thanks again for your assistance.

      Okta API query

      Expand Post
This question is closed.
Loading
Trigger workflow from APP assignment profile update