Lack of NOW() in FIM
I have a situation where I need to flow the Current Date and Time. I know there is not a function in FIM to do this like the NOW() function did in ILM. There is a Create Date attribute in the FIM Portal that I can possibly use but can't seem to get
it to show in the list of attributes in the Source picker dropdown. Has anyone had to flow current date and time and figured out a slick way to do it? Thanks
November 4th, 2010 7:38am
Datetime attributes can't be used in function evaluator, you could use a custom expression but you will get a post processing error. Developing a custom activity that generate current datetime is not that difficult, use target attribute as a UI parameter
so you can reuse that activity in any workflow.-- Andrea Fogazzi Avanade
Free Windows Admin Tool Kit Click here and download it now
November 4th, 2010 7:44am
Thanks for the reply... I mispoke above on the Create Date attribute (it should be Create Time attribute). Andrea do you have any examples or links to assist with this? I am not a newbie at FIM but am not a developer either. I am not unwilling to attempt
custom activities or workflows b/c I think I am going to have to eventually. Rules Extensions in ILM far more familiar to me.
So let me ask... The Create Time is an attribute manipulated by the FIM Portal and cannot be modified. I am not looking to modify but read the data. Can I expose the Create Time attribute bound to the user resource in the FIM Portal? I can use this information
to flow to my data source. In my OSR, I do not have Create Time in my dropdown list.
November 4th, 2010 8:44am
You can use the Function Evaluator of tools4fim:
http://www.tools4fim.com/function-evaluator.aspx
There is a Now function available in that custom workflow activity
Free Windows Admin Tool Kit Click here and download it now
November 4th, 2010 9:45am
I have a simple Workflow activity I wrote that just stamps a timestamp on an attribute and supports specifying an offset. If you ping me offline I can just send it to you - it's pretty straight forward.My Book - Active Directory, 4th Edition
My Blog - www.briandesmond.com
November 5th, 2010 1:35pm