Human readable id in production

Hi All,

We need to generate sequence id only for process instance id instead of UUID How can I configure? and I have to use this for production.

Meanwhile typically each request has to identified by human readable format id, how peoples achieve this in camunda? .

1 Like

Typically you don’t use the Camunda IDs as human readable identifiers. You could add some own process variable or use the business key instead - then you can fill this as you like.

One thing you should keep in mind: Every sequence of numbers will somehow influence scalability. But this is probably no issue in your use case.

If you know what you are doing you can also change the id generator to produce increasing ints (1,2,3,…): https://docs.camunda.org/manual/7.7/user-guide/process-engine/id-generator/#the-database-id-generator. But this is really risky, as this can lead to deadlocks in clustered environments depending on a couple of configuration factors (thread pool size, database connection size, …).

Cheerio
Bernd

2 Likes

Thanks … .