Jump to content

LDAP Import - optional information?

Guest Paul Alexander

Recommended Posts

Guest Paul Alexander

Our LDAP import is set to bring in a users' pay ref from a custom field in AD and to use that info as part of the Handle field in Hornbill.

This all works perfectly well....except if, for some reason, the Pay Ref field in AD isn't filled in (this can sometimes take up to a week to be updated in AD after the employee joins the company)

If this happens, then the creation of the user in Hornbill fails with the error "The minimum length of the value in element <name> was expected to be 2 but was actually 0 at location '/methodCall/params/name'"

Is there a way of making this info optional in the import? Or will I need to make 2 import scripts - one for creation (without the pay ref number) and one for updates (with the pay ref number), just so that the account IS created regardless of whether the info is up to date in AD? This would be a pain as I have an import script for each of our 8 divisions...so a way of making the info optional would be better! 


Link to comment
Share on other sites

Guest Paul Alexander

HI @Martyn Houghton

Thanks for that....I did think of that, but it does then mean that employees who HAVE joined the company but whose details aren't up to date in AD can't then log any requests in Service Manager until their details are updated.

What I was looking for was a way of saying 'if this data exists use it, but if it DOESN'T exist, skip it'. 


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...