<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
0D5WR00000zq5lS0AQOkta Identity EngineWorkflowsAnswered2025-11-22T01:05:40.000Z2025-11-19T15:46:55.000Z2025-11-22T01:05:40.000Z

Pratula.69048 (Customer) asked a question.

Timezone aware Terminations for Users at a fixed time on their last day

As part of Workday integration, time zone aware terminations deprovison user access at import on the next day.

Is it possible to instead terminate to user on their END DATE at a Fixed time (say 2PM).

Time zone based on their location. Any suggestions on the flow? TIA!


  • TimL.58332 (Workflows)

    @Pratula.69048 (Customer)​ - I'm not really sure what you are asking for here. This doesn't sound like you are looking for an Okta Workflows solution but a change in how Workday > Okta integration functions?

     

    From a Workflows perspective you could perform "Time zone" related tasks but it would require you to normalize the data. So something along the lines of a Scheduled flow that checks for everyone that is 2 days out from their END DATE. They would also need to have an attribute that indicates their TimeZone (or some other method to determine it). You could then perform conversions and populate a table.

     

    A second schedule flow that runs every 5 minutes could check the table for entries that are passed the "NOW" date/time. Run the deprovisioning steps, remove their entry from the table.

    Expand Post
    • Pratula.69048 (Customer)

      I was trying to say that Workday Okta integration OOTB only supports Timezone aware terminations at the next import AFTER end date. So essentially user will be terminated at the earliest on 12:01am in their time zone.

       

      I am trying to build a workflow to terminate the user at say 4pm (user time zone) on their last day. I have an attribute location that can be used to determine the user time zone.

       

      I am thinking how we can achieve user termination at a fixed time on their last day in the selected time zone.

      Expand Post
  • User17157611498146715886 (Customer Support Online Community and Social Care)

    Hello @Pratula.69048 (Customer)​ , thank you for contacting Okta Community.

     

    This can be achieved using Workflows. Have a look at the Advanced Options section of the Set schedule options article, specifically the Timezone and the Exact time options.

     

    Regards. 

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
  • Pratula.69048 (Customer)

    So setup a scheduled flow that checks every five minutes if the user is due deprovisioning?

    Will you be able to recommend how we pick the users that have a end date put in(from business), and then have these users lined up to be deprovisioned in the flow. Thanks!

  • KathyT.73511 (Anthropic Identity)

    Having the workflow check every 5 minutes might be challenging, but every 30 minutes or hour might be more reasonable as most people don't end their shift at 5 minute intervals.

     

    I would set up a group rule that populates a group when a users end date attribute is populated. When the user is added to the group, the workflow kicks off and checks to see what date and shift is their end date and populates a table with their date and end time but all in the same time zone.

     

    Every 30-60 minutes, run the workflow to check the table to see if it's time for that user to be deactivated, deactivate them if it's their time, then remove them from the table and from the group.

    Expand Post
This question is closed.
Loading
Timezone aware Terminations for Users at a fixed time on their last day