<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
0D50Z00008C3jpoSABOkta Classic EngineAdministrationAnswered2024-04-16T11:29:57.000Z2018-07-17T11:49:23.000Z2018-07-17T11:49:23.000Z
Calculate and compare date value
We provision Okta accounts a couple of weeks prior to starting to allow access to the HR system etc, but some applications should not be enabled until a few days before users start.  We use the pre-hire setting on the profile master to auto-provision the Okta account.

Application assignment is controlled using Groups and needs to be delayed to startdate-5days.

To perform this, I see the following requirements: 
  1. Calculate field value for application provision date using appuser.startdate - 5days
  2. Run a comparison rule for group membership using user.appprovision<="Time.now(UTC)"
 What Okta expression could be used to calculate the value within (1)?

Thanks!

This question is closed.
Loading
Calculate and compare date value