Issue
- Existing child entity names have gaps or discrepancies in their lot numbers
- When creating a child entity using a name template with the component "Parent lot number: Link field name", the generated name's lot number is not consecutive to previous child entities of that parent
- In some cases, this error message displays: "The name generated by the template "xxx" is already being used by an existing entity"
Environment
Registering entities in the Registry application or through Registration tables in Notebook entries - all versions and systems
Cause
- Archived child entities with parent links retain their lot number and affect subsequent lot numbering
- Gaps in lot numbering can be caused by unlinking and/or relinking child entities from their parent entities
Resolution steps
Release lot numbers for re-use by clearing linked parent fields in archived and unarchived child entity schemas:
- Search for archived child entities.
- In the child entity schema configuration, uncheck the Parent link field and save the changes, then re-check the Parent link field and save the changes again.
- Re-link the incorrectly numbered child entities to their parent entities and update the name(s) manually. Subsequent child entities should obtain names with correct lot numbers. If many entities are affected and retaining Registry IDs is
- Not important: unregister and re-register them in bulk
- Important: contact Benchling Support to update only the names in bulk