When creating the first sample in an experiment it should show as ExperimentSample-01 but it is created with a different number e.g. ExperimentSample-08.
Details: This will happen if the option 'Enable global auto numbering for Samples' is active in 'System Objects' > 'Samples' > 'Auto Numbering' section, this will set the numbering of the samples at tenant level. To have the sample numbering at experiment level the option needs to be disabled.
For example if you create the first sample in the system in your experiment and then your coworker creates another sample in their experiment:
1. When global auto numbering is enabled: the first sample will be auto-named 'ExperimentSample-01', because it is the first sample in the tenant, the second sample created by your coworker will be auto-named 'ExperimentSample-02' because is the second sample in the tenant.
2. When global auto numbering is disabled: both created samples will be named 'ExperimentSample-01' because they are the first sample in their individual experiments, other samples in the tenant are not considered when numbering.
Solution: Disable the option 'Enable global auto numbering for Samples' in 'System Objects' > 'Samples' > 'Auto Numbering'