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