Skip to main content
Nintex Community Menu Bar

Exception in Email event while using xml fields in TO field

  • November 25, 2008
  • 2 replies
  • 21 views

Forum|alt.badge.img+4

Hi,


I am storing users in an xml field in format domainusername.


I specify the xml field in the To field of a mail event.


K2 does not get the email address for the users and throws exception saying the specified string is not in format of email address.


It specifically needs email addresses to be specified in the mail events.


This is an overhead to be done.


I think K2 should internally do an AD query and fetch the email address for the specified user if it is not in format of email address.


Regards,


Ritesh

2 replies

Forum|alt.badge.img+4
  • Author
  • November 25, 2008

Also I am setting destination users dynamically in the code behind for destination rule.


In the mail notification for the task, same exception is thrown.


Forum|alt.badge.img+11
  • November 25, 2008

I use a SmartObject connected to the Active Directory 2 (807) service to resolve users to email addresses for the mail event.  I usually have a few utility SmartObjects like this that I can use in many different workflows.  It will be a little bit trickier with a repeating group, but I'm pretty sure it should be possible to do it with no code.


David