[CRM 4] Error using Bulk Deletion Jobs: “This condition had one or more Lookup values that are not valid”

Using the Bulk Deletion Jobs tool that I told you in my previous post, I’ve found a bug, which is not yet resolved and I’m trying to find out it. I’m not sure if it’s a CRM issue or it’s a issue of my solution, so I’m looking for your opinion and similar experiences.

The point is when you create programmatically Bulk Deletion Jobs whose query contains conditions with LookUp types, (DateTime, Picklist, strings, decimals,.. work fine) these attributes aren’t showed properly in the Bulk Delete Operation form properties. Instead of that, they are showed like warning signal:

if you click over the warning signal, you get the message “This condition had one or more Lookup values that are not valid.”:


However, this Bulk Job Deletion jobs was created according to the next System View, so “Enter Value” should be “parent a1”

One important note: although Lookup attributes are now showed properly, the Bulk Deletion Operations work fine and they remove the corresponding records, but It could be dodgy and scaring, since you won’t be sure which records have been deleted really.

Any suggestion?

Thank you very much.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s