Active Directory User account name and email address issue in Task Assignment Notification

  • 3 March 2017
  • 3 replies
  • 55 views

Badge +1

Hi,

 

I have an AD account name called user1 and domain is test.com. Email address that i configured in AD is email1@test.com. However when task is assigned via workflow, task is successfully assigned to user1 and listed in work list. however email notification couldn't be received. After checking, k2 sent the email to user1@test.com. I have another account user2 and email is user2@test.com. The account received the notification after task assignment. 

 

May I know how K2 retrieve the email address from the AD user account. If account name and email address are different, k2 send the email to accountname@test.com. But it doesn't send to email address that is configured in AD. 

 

When I ran "Get User Detail" method under UMUser smartobject using SmartObjectTester tool for user1, email address is user1@test.com. When i ran "Get Users", email address is email1@test.com. Seem like workflow get the email address from "Get User Detail" method but it is wrong email. how can i point the workflow to get correct one which is from "Get Users"?


3 replies

Userlevel 4
Badge +14

Hi


 


Did you perhaps have User1 registered with email user1@test.com and then later change the email address? If so then the Users details in the K2 identity cache is just not up-to-date.


You can use the tool below to force refresh the user’s details to the K2 identity cache


http://community.k2.com/t5/General-K2-Utilities/Force-Identity-Service-Refresh/ba-p/74061


 


Regards


Vernon

Badge +1

Thanks for the reply.

 

Found that user couldn't be resolved in User Role Manager. There are  12 different domains are configured. If "Ignore Foreign Identity" checkbox is checked, User Role Manager could resolve the user. If "Ignore Foreign Identity" is unchecked, User Role Manager couldn't resolve the user. Do you have any idea why User Role Manager couldn't resolve the user if "Ignore Foreign Identity" is unchecked. 

 

Regards,

Eric Kyaw

Userlevel 4
Badge +14

Sorry man have no idea.


My understanding of the "Ignore Foreign Principles" is that K2 will then ignore the objects returned from a foreign domain via a Group membership. I think your best route will be to open a K2 support ticket on this one. 


 


When logging add the HostServer Log and ADUM logs to the ticket where the issue was reproduced. 


 


Thanks


Vernon


 


 

Reply