Account Expires Mapping

Hello,

We had an issue with the account expires mapping. We had it set to Employee.DayLastWorked.

The employees account expired a day before on 4/11 when their term date was actually set to 4/12 in UKG. Any clue on how this happened and how we can fix the expression? Thanks!

image
image
image

When you set the set the Expiry date value it will force it to the day before in AD (normally at 11:59:59)

My suggestion here is to set the expression to the following:

Employment.DateLastWorked.GetValueOrDefault().AddDays(1)

This will add 1 day to the DateLastWorked value, resulting in a expiry date that meets the exact value in DateLastWorked.

image

Great thanks! This is a huge win for our security compliance as it will automatically expire the accounts!

2 Likes