Create AD User - Account Expiration Date

  • 28 February 2017
  • 3 replies
  • 4 views

Badge +5

We just upgraded to Nintex Workflow Enterprise and one of the key reasons was the AD integration. However, I have just started to build a workflow for new starters (for contractors we have a definitive END DATE). I want to use the Create AD User action to create the account, but I cannot see how I can set the ACCOUNT EXPIRATION DATE?

200027_pastedImage_1.png


3 replies

Userlevel 6
Badge +15

Oh! I just did this an hour ago!

So you want to add the Create AD User action, choose the field, and then "Other", and then type in accountExpires.

That took me a while to figure out, as I don't find it intuitive to click "Other" and then enter in my own field entry.

Also, for whatever reason, you need to add 1 day to whatever you want the expiry date to be because AD is whack. In my situation I did a calculate date prior and added 1 day plus my expiry date, put that in a variable, and used that to update accountExpires.

Let me know if I can help further.

Cheers,

Rhia

Badge +5

Thank you Rhia..... simple solution!

Userlevel 6
Badge +15

Excellent! Please mark my answer as correct if it helped you out happy.png Cheers!

Reply