<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Activiti UUIDGenerator can generate a number? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-uuidgenerator-can-generate-a-number/m-p/24042#M10457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;Please advise if we can get the UUIDGenerator to generate numbers instead of the above alpha numeric characters?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UUIDGenerator generates UUID.&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html" title="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html" rel="nofollow noopener noreferrer"&gt;UUID (Java Platform SE 8 )&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;gt; Is there a way we can increase the block size of the sequence in the DBIdGenerator class?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;You can set t&lt;SPAN style="background-color: #ffffff;"&gt;he block size of the DBIdGenerator by&amp;nbsp;ProcessEngineConfiguration.setIdBlockSize.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://www.activiti.org/javadocs/org/activiti/engine/ProcessEngineConfiguration.html#setIdBlockSize-int-" title="https://www.activiti.org/javadocs/org/activiti/engine/ProcessEngineConfiguration.html#setIdBlockSize-int-" rel="nofollow noopener noreferrer"&gt;ProcessEngineConfiguration (Activiti - Engine 5.22.0 API)&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;But, if you want rigor, you should make your original IdGenerator by overriding IdGenerator like db sequence.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;And you set your original IdGenerator to ProcessEngineConfiguration by ProcessEngineConfigurationImpl.setIdGenerator.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jun 2017 03:12:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-30T03:12:26Z</dc:date>
    <item>
      <title>Activiti UUIDGenerator can generate a number?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-uuidgenerator-can-generate-a-number/m-p/24041#M10456</link>
      <description>Hi,We have a use case&amp;nbsp;where we generate about 30K workflows every quarter. We are creating workflows, using the&amp;nbsp;org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity.createProcessInstance(businesskey) API.We are currently using the default DBIdGenarator to generate process instance ids</description>
      <pubDate>Wed, 28 Jun 2017 13:14:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-uuidgenerator-can-generate-a-number/m-p/24041#M10456</guid>
      <dc:creator>gjaya26</dc:creator>
      <dc:date>2017-06-28T13:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti UUIDGenerator can generate a number?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-uuidgenerator-can-generate-a-number/m-p/24042#M10457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;Please advise if we can get the UUIDGenerator to generate numbers instead of the above alpha numeric characters?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UUIDGenerator generates UUID.&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html" title="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html" rel="nofollow noopener noreferrer"&gt;UUID (Java Platform SE 8 )&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;gt; Is there a way we can increase the block size of the sequence in the DBIdGenerator class?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;You can set t&lt;SPAN style="background-color: #ffffff;"&gt;he block size of the DBIdGenerator by&amp;nbsp;ProcessEngineConfiguration.setIdBlockSize.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://www.activiti.org/javadocs/org/activiti/engine/ProcessEngineConfiguration.html#setIdBlockSize-int-" title="https://www.activiti.org/javadocs/org/activiti/engine/ProcessEngineConfiguration.html#setIdBlockSize-int-" rel="nofollow noopener noreferrer"&gt;ProcessEngineConfiguration (Activiti - Engine 5.22.0 API)&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;But, if you want rigor, you should make your original IdGenerator by overriding IdGenerator like db sequence.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;And you set your original IdGenerator to ProcessEngineConfiguration by ProcessEngineConfigurationImpl.setIdGenerator.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 03:12:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-uuidgenerator-can-generate-a-number/m-p/24042#M10457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T03:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti UUIDGenerator can generate a number?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-uuidgenerator-can-generate-a-number/m-p/24043#M10458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you daisuke. Do you know what idblocksize should I set to generate 30000 workflows? Do you know of any set guidelines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 15:17:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-uuidgenerator-can-generate-a-number/m-p/24043#M10458</guid>
      <dc:creator>gjaya26</dc:creator>
      <dc:date>2017-06-30T15:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti UUIDGenerator can generate a number?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-uuidgenerator-can-generate-a-number/m-p/24044#M10459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;guidelines.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;gt; Do you know what idblocksize should I set to generate 30000 workflows?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regardless of the setting of i&lt;SPAN style="background-color: #ffffff;"&gt;dBlockSize&lt;/SPAN&gt;, DBIdGenerator can&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;generate&amp;nbsp;30000 id.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;If you set&amp;nbsp;i&lt;SPAN style="background-color: #ffffff;"&gt;dBlockSize, you change&amp;nbsp;the number of times that DBIdGenerator acess table( act_ge_property next.dbid) to get next dbid.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.activiti.org/userguide/#advanced.uuid.generator" title="https://www.activiti.org/userguide/#advanced.uuid.generator" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 21:08:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-uuidgenerator-can-generate-a-number/m-p/24044#M10459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T21:08:43Z</dc:date>
    </item>
  </channel>
</rss>

