Answered

How to have a ID (int) with 8 digits? ex.: 00000001

Hello Bizagi Community,

In my process I have an ID that is incremented whenever the process starts; I want the number with 8 digits like this example: 00000011.

Do I have to use a string? How can I solve this?

Best regards,

Comments (3)

photo
1

Dear Franscisco,

Regarding your question, you can use Integer because it stores in the following range: -2,147,483,648 to 2,147,483,647. However, you can use big integer according the following article: http://help.bizagi.com/bpmsuite/en/index.html?attribute_types.htm

Best Regards

photo
1

Hi Juan.

The problem is that Bizagi cuts de leadings 0's! After I put the value 00000001 in parameter table, when I do an math operation, Bizagi presentes me a number like 1 or 2, without 0's.

Francisco

photo
2

Dear Francisco,

Thanks for your explication. If you need to keep 0´s on the left side, then you need to use a string. Maybe you can use integer to sum, but to show the value, it must be a string.

Regards