יום חמישי 14 יוני 2012 10:41
I have created a notification workflow that I run upon the change of a specific user attribute. The workflow contains an email notification action in which I want to send a notification about the change to a certain group.
The e-mail template contains, amongst other things, the following:
What I would like to do is access the //Request/CreatedTime inside a Custom Workflow activity (which would run before the email notification action) in order to grab the CreatedTime, change it to my timezone and place it in a Workflow parameter.
//Read the parameters
foreach (CreateRequestParameter requestParameter in requestParameters)
if (requestParameter.PropertyName == "CreatedTime")
containingWorkflow.WorkflowDictionary.Add("CorrectRequestDate", <<do action with requestParameter.Value.ToString() here>>);
However, the requestParameters does not seem to contain "CreatedTime", just the ones below:
My Question: How would I be able to access (read) the CreatedTime parameter?
שבת 16 יוני 2012 05:02
Where I have done this I created a dependency property of RequestType and after setting this to the current request you can access CurrentRequest.CreatedTime and CurrentRequest.CommittedTime directly.
Bob Bradley (FIMBob @ http://thefimteam.com/) ... now using Event Broker 3.0 @ http://www.fimeventbroker.com/ for just-in-time delivery of FIM 2010 policy via the sync engine