<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
0D54z00008dlw6OCAQOkta Identity EngineWorkflowsAnswered2024-08-23T09:00:35.000Z2023-01-13T18:59:22.000Z2023-01-19T16:36:59.000Z

u7n8v (u7n8v) asked a question.

Add a review task in Okta workflows

Hello,

I want to send a task to the manager of an account when the account is close to its expiration date. The manager has to provide a response on if he needs to keep the account or delete the account. Like an access review campaign but without using the Okta governance license. Has anyone achieved this by using Okta workflows?

As far as I have gone, I can send an email but how do I get the response from the manager which then branches out in the workflow? Thank you.

 


  • TimL.58332 (Workflows)

    @u7n8v (u7n8v)​ 

     

    Possibly. I don't know enough about HTML and what the email clients allow to be "created" in their body to give you a definitive answer as it is the potential limiting factor.

     

    Workflows has "Pause" cards. These Pause cards can be resumed with a POST action to the resume URL & a JSON body can be included with the action.

     

    So technically "IF" you can embed a set of POST actions in the body of Gmail/0365 email allowing the user to click one or the other a response with data could be returned to lets say "Add 7 days" or "let it expire normally"

     

    Edit: So the flow would look something like:

     

    Flow #1 - On a timer check for the "nearly expiring" condition for the object. Call Flow #2's API endpoint that has the "Pause" and obtain the resume URL. Build a email "IF possible" that contains links/buttons for a POST action to Flow #2

     

    Flow #2 would then have logic after resume to perform an action based on the body returned from clicking a button/link in the email (If POST action was possible). Extend/Not extend for example.

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

    @u7n8v (u7n8v)​ 

     

    Possibly. I don't know enough about HTML and what the email clients allow to be "created" in their body to give you a definitive answer as it is the potential limiting factor.

     

    Workflows has "Pause" cards. These Pause cards can be resumed with a POST action to the resume URL & a JSON body can be included with the action.

     

    So technically "IF" you can embed a set of POST actions in the body of Gmail/0365 email allowing the user to click one or the other a response with data could be returned to lets say "Add 7 days" or "let it expire normally"

     

    Edit: So the flow would look something like:

     

    Flow #1 - On a timer check for the "nearly expiring" condition for the object. Call Flow #2's API endpoint that has the "Pause" and obtain the resume URL. Build a email "IF possible" that contains links/buttons for a POST action to Flow #2

     

    Flow #2 would then have logic after resume to perform an action based on the body returned from clicking a button/link in the email (If POST action was possible). Extend/Not extend for example.

    Expand Post
    Selected as Best
This question is closed.
Loading
Add a review task in Okta workflows