Use today's date in a custom expression
Hi
In our company we keep Inactive Users in OUs based on the name of the month in which they become inactive. The process is simple, test for the current month in which the user becomes inactive and construct the DN of the user object based on that
and move the obejct with the next synchronization, for expampe if a user becomes inactive today the DN will be CN=Joe Soap,OU=May,OU=Inactive Users,DC=domain. The inactive user remains in this OU for about 90 days after which it is permanently deleted.
The problem I am having is how to get today's date to be able to retrieve the month in the FIM 2010 portal when building the outbound synchronization rule. I couldn't find any type of command or function which can return today's date.
I would appreciate any help or guidance with this.
Thanks in advance
Johan Marais
JkM6228
May 2nd, 2012 8:55am
Johan-
There's no function to generate this out of the box. You could either write a custom workflow activity to plug this into WorkflowData, or switch to using a metaverse extension and do the rename in provisioning code.My Book - Active Directory, 4th Edition
My Blog - www.briandesmond.com
Free Windows Admin Tool Kit Click here and download it now
May 2nd, 2012 1:32pm
Brian,
Thanks for the reply, I was expecting this type of answer but hoped that there was something in the FIM portal I have missed. Can't believe that something as elementary and important as this is missing!
Thanks againJkM6228
May 2nd, 2012 2:26pm
You can use the Tools4FIM custom function evaluator. It's free and has several functions for manipulating date attibutes, such as getting current date and formatting results that don't exist in the OTB function evaluator. I haven't tried your exact scenario
but you should be able to do what you're needing.
it's saved me writing a lot of custom code.Frank C. Drewes III - Senior Consultant: Oxford Computer Group
Free Windows Admin Tool Kit Click here and download it now
May 2nd, 2012 2:58pm


