I have an AD account name called user1 and domain is test.com. Email address that i configured in AD is firstname.lastname@example.org. 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 email@example.com. I have another account user2 and email is firstname.lastname@example.org. 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 email@example.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 firstname.lastname@example.org. When i ran "Get Users", email address is email@example.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"?