I have a text driver that creates users in my IDM (3.0.1).
For creation I use "create uniqe" to get uniqe accounts and that part
works fine for mort of the time.
Sometimes we stumble upon an account that does not exist in the IDM but
in one of the two production eDirectories, this causes problems since we
get a new account that gets matched with an old account.
I can turn of the matching policy but that dos not solve the whole

What I would like to do is do an ldap search for the user account in my
production eDirecories before creating the user so I can generate an
error log and send it to the administator.

How would I do write such an rule ? or does it have to be XSLT ?
I'm pretty good with the roule builder but have limited experience with