I'm using pp!id of a process instance value as orderId field for my db, As I thought it is unique for all process instances, but when I checked It was not. I was wondering is it really unique?
Discussion posts and replies are publicly visible
No. Process IDs are reused.
Process IDs are not reused but there is a max. Ids range from −2,147,483,647 2,147,483,647. If you use up all 4 billion process ids you won't be able to start any more processes. Even running a 1 million a day, you could run for more than 10 years. We have not had anyone run out of ids so far.