"MaximumId + 1" to set userId is taking too long (+12k users)

Hi @rafaelroseira ,

Try this,

This is actually a 1-record collection and can track the last number, in this case customer id number, so the next customer id will be increased by 1.

It will not duplicate.