Is there a way to check when a user account was created within my conditional expression?

I want to check when a user account was created within my conditional expression? If it was created more than 24 hours ago, I then want to move it to a specific container.

1 Like

You can evaluate the When Created field from the user object to check how long ago the user account was created:

WHEN
(User.whenCreated.GetValueOrDefault() - DateTime.Now.AddDays(-1)).TotalDays > 1

THEN
set the OU

1 Like