You need to sign in to do that
Don't have an account?
Sean Fife 9
Non-unique values in unique External Id field?
Ok, so we have an External Id field that's sets to unique case-insensitive, yet we have about 200 records with the same value. And it's either blank or null values repeated between records. What gives? Is this expected behavior? My searches have turned up nothing on this. Is this really, unique except...?
The field is only unique when it contains data. Blank or nulls dont count. Perhaps you have a workflow rule or trigger to automatically populate this field or perhaps this is a case of older data that may have existed prior to the field being unique? In any case, the field will only validate unique when data is entered - at the point of save, if there are any other records that contain the same data, then you will be prevented from saving.
Hope this clears things up but let us know if you have any further questions.
Please remember to mark this thread as solved with the answer that best helps you.
Kind Regards
Stephen
All Answers
The field is only unique when it contains data. Blank or nulls dont count. Perhaps you have a workflow rule or trigger to automatically populate this field or perhaps this is a case of older data that may have existed prior to the field being unique? In any case, the field will only validate unique when data is entered - at the point of save, if there are any other records that contain the same data, then you will be prevented from saving.
Hope this clears things up but let us know if you have any further questions.
Please remember to mark this thread as solved with the answer that best helps you.
Kind Regards
Stephen
Thanks, Stephen.