<?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: Re-engineering a legacy state machine with built in rules ... in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/re-engineering-a-legacy-state-machine-with-built-in-rules/m-p/196468#M149598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; will activiti support multiple instances of dbs with some RANGE or HASH or KEY partitioning based on guid or userId.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, Activiti does not do that. You will need to manage that on the db level. Or on the application level and have multiple Activiti engines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4) No, there is no compression being done. All process data will be in the ACT_RU_VARIABLE table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To avoid that, use an external data storage, and only store references in the process.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jul 2014 08:15:59 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-07-25T08:15:59Z</dc:date>
    <item>
      <title>Re-engineering a legacy state machine with built in rules ...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/re-engineering-a-legacy-state-machine-with-built-in-rules/m-p/196465#M149595</link>
      <description>Hi, I have prototyped a simple app with a groovy script, a RESTService call using Service Task and mail task to send the user status. This is a prototype to propose using Activiti BPM to replace the legacy system. This legacy system can have a campaign similar to a workflow. This campaign can execut</description>
      <pubDate>Sat, 21 Jun 2014 04:00:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/re-engineering-a-legacy-state-machine-with-built-in-rules/m-p/196465#M149595</guid>
      <dc:creator>rkarnam</dc:creator>
      <dc:date>2014-06-21T04:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Re-engineering a legacy state machine with built in rules ...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/re-engineering-a-legacy-state-machine-with-built-in-rules/m-p/196466#M149596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;will each customers workflow state be saved.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;If you will execute process instance for each customer, yes. May be another approach could be consider too. (e.g. one process instance - (campaign) can change state of&amp;nbsp; 1000's of objects (customers).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Will all these millions of users be part of identity tables in activiti ?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;It depends on your solution. How you will design processes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Also I was looking for enterprise support for Activiti.&lt;/BLOCKQUOTE&gt;&lt;A href="http://activiti.org/enterprise-support.html" rel="nofollow noopener noreferrer"&gt;http://activiti.org/enterprise-support.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Try to contact: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:activiti@edorasware.com" rel="nofollow noopener noreferrer"&gt;activiti@edorasware.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 06:39:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/re-engineering-a-legacy-state-machine-with-built-in-rules/m-p/196466#M149596</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-06-23T06:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re-engineering a legacy state machine with built in rules ...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/re-engineering-a-legacy-state-machine-with-built-in-rules/m-p/196467#M149597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your answers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have done a POC with activiti. Here are my technical questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) We will have 1000's of marketing campaigns which is your workflow processes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Each workflow process can panel 2 or 3 million customers out of 30 million AIM users&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) So my question is how the datastore is managed …will activiti support multiple instances of dbs with some RANGE or HASH or KEY partitioning based on guid or userId.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) The state management for each of the customer can process a lot data. Does all the data get stored in the ACT_RU_VARIABLE table ? is there a compress algorithm being using to store variables in TEXT_VARCHAR and TEXT2_VARCHAR. How can we avoid that storage and instead always get the data ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 14:47:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/re-engineering-a-legacy-state-machine-with-built-in-rules/m-p/196467#M149597</guid>
      <dc:creator>rkarnam</dc:creator>
      <dc:date>2014-07-23T14:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re-engineering a legacy state machine with built in rules ...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/re-engineering-a-legacy-state-machine-with-built-in-rules/m-p/196468#M149598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; will activiti support multiple instances of dbs with some RANGE or HASH or KEY partitioning based on guid or userId.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, Activiti does not do that. You will need to manage that on the db level. Or on the application level and have multiple Activiti engines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4) No, there is no compression being done. All process data will be in the ACT_RU_VARIABLE table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To avoid that, use an external data storage, and only store references in the process.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 08:15:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/re-engineering-a-legacy-state-machine-with-built-in-rules/m-p/196468#M149598</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-07-25T08:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re-engineering a legacy state machine with built in rules ...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/re-engineering-a-legacy-state-machine-with-built-in-rules/m-p/196469#M149599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Joram!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have integrated with the profile service which is couchbase cluster. I get the profile information when the REST service is called. I inject that profile Object into the startProcessInstanceByKey call. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; CpsResponse profileResponse = cpsService.getProfile((String) nameValuePairs.get("userId"));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; nameValuePairs.put("profileObject", profileResponse);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ProcessInstance processInstance = runtimeService.startProcessInstanceByKey(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; processKey, nameValuePairs);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have a&amp;nbsp; groovy script task. Which parses the data. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rintln "validating order for name " + userId;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; def subs = profileObject.nameValuePairs.subs;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; subs.each{ k, v -&amp;gt; out&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rintln " Subs List size : ${v.size}";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v.each { sub -&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rintln " Sub: ${sub.svuProdId}, ${sub.name}, ${sub.status}, ${sub.productClass}";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my question if there is a timer event in it then it will get stored into the database. How can I avoid storing it into db. Can I declare the object as transient ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also is there a way to call this service again when the timer event triggers ? I am looking into execution listener event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any insights will be helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Raghav.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 18:28:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/re-engineering-a-legacy-state-machine-with-built-in-rules/m-p/196469#M149599</guid>
      <dc:creator>rkarnam</dc:creator>
      <dc:date>2014-08-06T18:28:59Z</dc:date>
    </item>
  </channel>
</rss>

