Well that kind of puts a dent in that theory (ofc I’m not saying it’s wrong). You tried both manual entry and signing a user up from the front-end, same result. I signed my users up from front-end but I manually changed the ID value to check the 999-1000 effect. I guess there’s something on your side. You could share your editor if you’d like someone to check it further.
Maybe I am misunderstanding how bubble arguments work, but I don’t think we could use the unique ID any way, as I would need to use this information for dynamic data. So I couldn’t use the unique ID as a customer ID, because I then wouldn’t be able to get workflows to add this to invoices later, correct?
Sure you can. You can always cross-reference data if you set your DB up correctly, where you define a new field as type [other field], e.g.
I have orders that are based on creations, that are created by users. So if you set it up correctly, you can use thing [Order]'s Creation’s user and all their fields respectively.
The problem I am seeing with ‘random strings’ is duplication. Wouldn’t I have to set up a bunch of other workflows to check that it is unique?
I don’t think so. Not exactly sure how to set it up just thinking about it now when reading your post but you should definitely be able to solve it. I think @mishav’s third party suggestion is valid. If you want to be really sure, perhaps there’s a possibility to use UUIDs through an API somewhere. You can read more here. (I think especially the part with
In other words, only after generating 1 billion UUIDs every second for the next 100 years, the probability of creating just one duplicate would be about 50%.)
helps to put the duplication error worries to rest.)
If you’d go with bubble’s “generate string”, I guess it’d be up to @emmanuel to comment on the random string generator’s technical specs of generating randomness. However and from a basic probability point of view, the more character’s you use, the less chance of duplication. In addition, the actual probability of duplication when generating a random string with enough characters, using letters, non-cap letters, numbers and special characters is "practically 0-ish".