When executing a custom task (based on CreateUser), the task fails with the error message: Failed to execute CreateUserEvent. The logs further report: No items found.
This error occurs when a Logical Attribute Handler (LAH) definition references a physical attribute that does not exist or has been incorrectly named. The Identity Manager engine attempts to resolve the attribute but fails because the referenced column is either misspelled or does not match the actual database schema.
Example error in logs: 2018-05-31 15:34:44,225 ERROR [ims.llsdk.directory.jdbc.jdbcbase] Failed to find managed object attribute definition for pivUsers.EmployeeAffiliation attribute
In this example, the LAH was configured to use pivUsers.EmployeeAffiliation, but the actual database column name is pivUsers.AdministrativeAffiliation.
Follow these steps to identify and correct the LAH definition:
Failed to find managed object attribute definition. Note the specific attribute path mentioned in the log (e.g., pivUsers.EmployeeAffiliation).pivUsers.EmployeeAffiliation) with the correct, verified column name (e.g., pivUsers.AdministrativeAffiliation).