I currently have a workflow that scans for “staged” users every hour and previously, we use to initiate activation at 7am EST daily. We have grown in size as a company and now have a global presence. Is there a way to or does anybody have a workflow template, that essentially checks for “staged” users in Okta, and then activates them at a specific time using their local time zone? If we set it to 1am EST for example, it won’t trigger early enough for users in Singapore.
Hi @RyanSmith, Welcome to the Workflows community forum!
Could you add an extra condition to listing staged users — only get staged users in a specific time zone? Then, you can run the flow several times daily (for each geographical location/time zone) and activate those users. Would that work?
Hi @maxkatz We aren’t currently using any timezone attributes so I’m not sure how I would leverage that logic. My thought process was to create 3 workflows using the countrycode variable and then schedule each one to run at a time unique to that location.
Essentially run a staged users report, and then create an If/Then statement in the workflow that says if user.countryCode equals “US” as an example and “startdate” variable equals todays date, then activate and schedule that for say 5am EST daily. I would just run one for EMEA and then a separate one for APAC regions. Just wanted to see if there was an easier way to do this or if my thought process makes the most sense.
Hi @RyanSmith,
I like your approach.
You don’t necessarily need an if/else statement. Inside each flow, run a query that searches for users using the condition for that flow/region.
For instance, in the flow that creates US users, the search query would look for ‘staged’ users and the country code would be ‘US.’