email notification error
In a workflow activity I am taking the "ResourceParent" from an Expected Rule entry. From this user, I am getting the GUID from the manager field. This value I return as workflow parameter. The next step in the workflow is to send an email notification. Here I send it to the guid that I found in the activity. I have logged the workflow parameter, which correctly returns a guid for a user, which is mail enabled. But the workflow tries to send the notification it gets the following error: Microsoft.ResourceManagement.Service: System.ArgumentException: Invalid or NULL email address at Microsoft.ResourceManagement.Mail.Utilities.ValidateMailMessage(GenericMessage message, IMailServer mailServer) at Microsoft.ResourceManagement.Mail.NotificationMessage.Send() at Microsoft.ResourceManagement.Workflow.Hosting.SendMailWorkItemProcessor.SendMailMessage(MessageContent messageContent) at Microsoft.ResourceManagement.Workflow.Hosting.SendMailWorkItemProcessor.ProcessWorkItem(WorkItem workItem) Any ideas?
June 22nd, 2010 5:22pm

Are you passing the Guid as a Guid or as a string? The EmailNotificationActivity takes a string for it's To property and trying to pass it as a Guid may fail. //HenrikHenrik Nilsson, ILM/FIM MVP Blog: http://www.idmcrisis.com Company: Cortego (http://www.cortego.se)
Free Windows Admin Tool Kit Click here and download it now
June 22nd, 2010 6:44pm

I have tried both ways, but I get the same error. /Søren
June 24th, 2010 10:18am

It definitely a problem resolving the email address from the Guid and I can't come up with a good idea why except maybe the format of the Guid isn't accepted after being converted into a string. A solution could be to resolve the email yourself by using a ReadResourceActivity...Henrik Nilsson, ILM/FIM MVP Blog: http://www.idmcrisis.com Company: Cortego (http://www.cortego.se)
Free Windows Admin Tool Kit Click here and download it now
June 24th, 2010 11:56am

Hi Sylle, Is the portal user synchronized with an AD user? i had a similar problem where the email field was empty because the user wasn't synchronized... Hope this helps...
June 24th, 2010 3:57pm

I have seen this error in the past when the object in the portal doesn't have the 'email' attribute value in the portal populated. The manager may have a proper email address in AD but is it available in the portal? If not, try putting correct value in it and attempt.
Free Windows Admin Tool Kit Click here and download it now
August 6th, 2010 7:41am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics