<?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 Is there an Activiti API method to get the schema version ? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/is-there-an-activiti-api-method-to-get-the-schema-version/m-p/18825#M8331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of going to DB table ACT_GE_PROPERTY and retrieve value for schema.version, just thinking if there is a service api from process engine factory which is readily available that might have a property (preloaded) or a getter for schema version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2017 19:30:35 GMT</pubDate>
    <dc:creator>badrisudheer</dc:creator>
    <dc:date>2017-06-15T19:30:35Z</dc:date>
    <item>
      <title>Is there an Activiti API method to get the schema version ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-an-activiti-api-method-to-get-the-schema-version/m-p/18825#M8331</link>
      <description>Instead of going to DB table ACT_GE_PROPERTY and retrieve value for schema.version, just thinking if there is a service api from process engine factory which is readily available that might have a property (preloaded) or a getter for schema version.</description>
      <pubDate>Thu, 15 Jun 2017 19:30:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-an-activiti-api-method-to-get-the-schema-version/m-p/18825#M8331</guid>
      <dc:creator>badrisudheer</dc:creator>
      <dc:date>2017-06-15T19:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an Activiti API method to get the schema version ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-an-activiti-api-method-to-get-the-schema-version/m-p/18826#M8332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;If you want to get the version of Activiti source, you can get like&amp;nbsp;the following code.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P class=""&gt;ProcessEngine.&lt;SPAN class=""&gt;VERSION&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;If you want to get the version of &lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;schema.version&lt;/SPAN&gt;, you can get &lt;/SPAN&gt;&lt;SPAN&gt;like&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;the following code.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P class=""&gt;String &lt;SPAN class=""&gt;dbVersion&lt;/SPAN&gt; = ((ProcessEngineConfigurationImpl) &lt;SPAN class=""&gt;processEngineConfiguration&lt;/SPAN&gt;).getCommandExecutor().execute(&lt;SPAN class=""&gt;new&lt;/SPAN&gt; Command&amp;lt;String&amp;gt;() {&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;public&lt;/SPAN&gt; String execute(CommandContext &lt;SPAN class=""&gt;commandContext&lt;/SPAN&gt;) {&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;PropertyEntity&lt;/SPAN&gt; &lt;SPAN class=""&gt;dbVersionProperty&lt;/SPAN&gt; = &lt;SPAN class=""&gt;commandContext&lt;/SPAN&gt;.getSession(DbSqlSession.&lt;SPAN class=""&gt;class&lt;/SPAN&gt;).selectById(PropertyEntity.&lt;SPAN class=""&gt;class&lt;/SPAN&gt;,&lt;SPAN class=""&gt;"schema.version"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;String &lt;SPAN class=""&gt;dbVersion&lt;/SPAN&gt; = &lt;SPAN class=""&gt;dbVersionProperty&lt;/SPAN&gt;.getValue();&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;return&lt;/SPAN&gt; &lt;SPAN class=""&gt;dbVersion&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;});&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 21:36:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-an-activiti-api-method-to-get-the-schema-version/m-p/18826#M8332</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-15T21:36:21Z</dc:date>
    </item>
  </channel>
</rss>

