Failed to execute CreateUserEvent

Document ID : KB000097904
Last Modified Date : 31/05/2018
Show Technical Document Details
Issue:
When I try to execute one of my custom tasks (based on CreateUser), the task is shown to fail with error Failed to execute CreateUserEvent. ERROR MESSAGE: No items found. 
Resolution:
A LAH was referring to a physical attribute that didn't exist due to human error. 

Here is the corresponding error message:
2018-05-31 15:34:44,225 ERROR [ims.llsdk.directory.jdbc.jdbcbase] (Thread-6 (HornetQ-client-global-threads-622526126)) Failed to find managed object attribute definition for pivUsers.EmployeeAffiliation attribute


In one of my LAH definitions, I had this:
<PhysicalAttribute name="Administrative Affiliation" attr="pivUsers.EmployeeAffiliation"/>

However, "pivUsers.EmployeeAffiliation" does not exist. The name of the column is actually "pivUsers.AdministrativeAffiliation"

After updating the LAH definition, and restarting the environment, I am now able to successfully complete my custom new user creation task.